|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.traverse.OMChildrenIterator
org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator
public class OMChildrenQNameIterator
Class OMChildrenQNameIterator This iterator returns the elements that have a matching QName. This class can be extended to customize the QName equality.
Field Summary |
---|
Fields inherited from class org.apache.axiom.om.impl.traverse.OMChildrenIterator |
---|
currentChild, lastChild, nextCalled, removeCalled |
Constructor Summary | |
---|---|
OMChildrenQNameIterator(OMNode currentChild,
javax.xml.namespace.QName givenQName)
Constructor OMChildrenQNameIterator. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
boolean |
isEqual(javax.xml.namespace.QName searchQName,
javax.xml.namespace.QName currentQName)
Returns true if the qnames are equal. |
static boolean |
isEquals_Legacy(javax.xml.namespace.QName searchQName,
javax.xml.namespace.QName currentQName)
Deprecated. |
java.lang.Object |
next()
Returns the next element in the iteration. |
Methods inherited from class org.apache.axiom.om.impl.traverse.OMChildrenIterator |
---|
remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMChildrenQNameIterator(OMNode currentChild, javax.xml.namespace.QName givenQName)
currentChild
- givenQName
- Method Detail |
---|
public boolean isEqual(javax.xml.namespace.QName searchQName, javax.xml.namespace.QName currentQName)
searchQName
- currentQName
-
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class OMChildrenIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class OMChildrenIterator
java.util.NoSuchElementException
- iteration has no more elements.public static boolean isEquals_Legacy(javax.xml.namespace.QName searchQName, javax.xml.namespace.QName currentQName)
searchQName
- currentQName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |