Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


oracle.security.xmlsec.util
Class NodeIterator.NodeTypeFilter

java.lang.Object
  extended by oracle.security.xmlsec.util.NodeIterator.NodeFilter
      extended by oracle.security.xmlsec.util.NodeIterator.NodeTypeFilter

Direct Known Subclasses:
NodeIterator.ElementFilter
Enclosing class:
NodeIterator

public static class NodeIterator.NodeTypeFilter
extends NodeIterator.NodeFilter

Filter that matches nodes of a given node type.

Since:
2.0
See Also:
NodeIterator.NodeIterator(Collection c, short nodeType)

Constructor Summary
NodeIterator.NodeTypeFilter(short nodeType)
          Creates a new NodeFilter that matches only nodes with the given node type code.

 

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.NodeTypeFilter

public NodeIterator.NodeTypeFilter(short nodeType)
Creates a new NodeFilter that matches only nodes with the given node type code.
Parameters:
nodeType - A valid node type code.
See Also:
Node

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.
Specified by:
matches in class NodeIterator.NodeFilter

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


Copyright © 2005, 2013 , Oracle. All rights reserved.