org.apache.axis2.om.impl.llom.traverse
Class OMChildrenQNameIterator
java.lang.Object
org.apache.axis2.om.impl.llom.traverse.OMChildrenIterator
org.apache.axis2.om.impl.llom.traverse.OMChildrenQNameIterator
- All Implemented Interfaces:
- Iterator
- public class OMChildrenQNameIterator
- extends OMChildrenIterator
Class OMChildrenQNameIterator
Method Summary |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the iteration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OMChildrenQNameIterator
public OMChildrenQNameIterator(OMNode currentChild,
QName givenQName)
- Constructor OMChildrenQNameIterator.
- Parameters:
currentChild
- givenQName
-
hasNext
public boolean hasNext()
- Returns true if the iteration has more elements. (In other
words, returns true if next would return an element
rather than throwing an exception.)
- Specified by:
hasNext
in interface Iterator
- Overrides:
hasNext
in class OMChildrenIterator
- Returns:
- Returns true if the iterator has more elements.
next
public Object next()
- Returns the next element in the iteration.
- Specified by:
next
in interface Iterator
- Overrides:
next
in class OMChildrenIterator
- Returns:
- Returns the next element in the iteration.
- Throws:
NoSuchElementException
- iteration has no more elements.