Class OMQNameFilterIterator
- java.lang.Object
-
- org.apache.axiom.om.impl.traverse.OMFilterIterator
-
- org.apache.axiom.om.impl.traverse.OMQNameFilterIterator
-
- All Implemented Interfaces:
Iterator
public class OMQNameFilterIterator extends OMFilterIterator
Iterator that selects elements based onQNameequality, i.e. namespace URI and local name. Namespace prefixes are not taken into account by the filter.
-
-
Constructor Summary
Constructors Constructor Description OMQNameFilterIterator(Iterator parent, QName qname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanmatches(OMNode node)Determine whether the given node matches the filter criteria.-
Methods inherited from class org.apache.axiom.om.impl.traverse.OMFilterIterator
hasNext, next, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
matches
protected boolean matches(OMNode node)
Description copied from class:OMFilterIteratorDetermine whether the given node matches the filter criteria.- Specified by:
matchesin classOMFilterIterator- Parameters:
node- the node to test- Returns:
- true if the node matches, i.e. if it should be returned
by a call to
OMFilterIterator.next()
-
-