Class OMChildrenWithSpecificAttributeIterator
- java.lang.Object
-
- org.apache.axiom.om.impl.traverse.OMFilterIterator
-
- org.apache.axiom.om.impl.traverse.OMChildrenWithSpecificAttributeIterator
-
- All Implemented Interfaces:
Iterator
public class OMChildrenWithSpecificAttributeIterator extends OMFilterIterator
Class OMChildrenWithSpecificAttributeIterator
-
-
Constructor Summary
Constructors Constructor Description OMChildrenWithSpecificAttributeIterator(OMNode currentChild, QName attributeName, String attributeValue, boolean detach)Constructor OMChildrenWithSpecificAttributeIterator.
-
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.Objectnext()Method next.voidsetCaseInsensitiveValueChecks(boolean val)-
Methods inherited from class org.apache.axiom.om.impl.traverse.OMFilterIterator
hasNext, 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
-
setCaseInsensitiveValueChecks
public void setCaseInsensitiveValueChecks(boolean val)
-
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()
-
next
public Object next()
Method next.- Specified by:
nextin interfaceIterator- Overrides:
nextin classOMFilterIterator- Returns:
- Returns Object.
-
-