org.apache.axiom.om.impl.traverse
Class OMChildrenQNameIterator

java.lang.Object
  extended byorg.apache.axiom.om.impl.traverse.OMChildrenIterator
      extended byorg.apache.axiom.om.impl.traverse.OMChildrenQNameIterator
All Implemented Interfaces:
java.util.Iterator

public class OMChildrenQNameIterator
extends OMChildrenIterator

Class OMChildrenQNameIterator


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

OMChildrenQNameIterator

public OMChildrenQNameIterator(OMNode currentChild,
                               javax.xml.namespace.QName givenQName)
Constructor OMChildrenQNameIterator.

Parameters:
currentChild -
givenQName -
Method Detail

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 java.util.Iterator
Overrides:
hasNext in class OMChildrenIterator
Returns:
Returns true if the iterator has more elements.

next

public java.lang.Object next()
Returns the next element in the iteration.

Specified by:
next in interface java.util.Iterator
Overrides:
next in class OMChildrenIterator
Returns:
Returns the next element in the iteration.
Throws:
java.util.NoSuchElementException - iteration has no more elements.