Oracle Security Developer Tools XML Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15571-01


oracle.security.xmlsec.util
Class NodeIterator.ElementFilter

java.lang.Object
  extended byoracle.security.xmlsec.util.NodeIterator.NodeFilter
      extended byoracle.security.xmlsec.util.NodeIterator.NodeTypeFilter
          extended byoracle.security.xmlsec.util.NodeIterator.ElementFilter

Enclosing class:
NodeIterator

public static class NodeIterator.ElementFilter
extends NodeIterator.NodeTypeFilter

Filter that matches element nodes having a given namespace URI and local name.

Since:
2.0
See Also:
NodeIterator.NodeIterator(Collection c, String nsURI, String localName)

Constructor Summary
NodeIterator.ElementFilter(java.lang.String nsURI, java.lang.String localName)
Creates a new NodeFilter that matches only Element nodes with the given namespace URI and local name.

Method Summary
boolean matches(org.w3c.dom.Node node)
Returns true if the given node should be returned by the iterator, otherwise returns false.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

NodeIterator.ElementFilter

public NodeIterator.ElementFilter(java.lang.String nsURI,
                                  java.lang.String localName)
Creates a new NodeFilter that matches only Element nodes with the given namespace URI and local name.
Parameters:
nsURI - The namespace URI of the elements to be matched.
localName - The local name of the elements to be matched.

Method Detail

matches

public boolean matches(org.w3c.dom.Node node)
Description copied from class: NodeIterator.NodeFilter
Returns true if the given node should be returned by the iterator, otherwise returns false.
Overrides:
matches in class NodeIterator.NodeTypeFilter

Oracle Security Developer Tools XML Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15571-01


Copyright © 2005 , Oracle. All rights reserved.