org.apache.abdera.parser.stax.util
Class FOMExtensionIterator
java.lang.Object
org.apache.axiom.om.impl.traverse.OMChildrenIterator
org.apache.abdera.parser.stax.util.FOMExtensionIterator
- All Implemented Interfaces:
- Iterator
public class FOMExtensionIterator
- extends org.apache.axiom.om.impl.traverse.OMChildrenIterator
Most of the original code for this class came from the OMChildrenQNameIterator from Axiom
Fields inherited from class org.apache.axiom.om.impl.traverse.OMChildrenIterator |
currentChild, lastChild, nextCalled, removeCalled |
Method Summary |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
|
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 |
FOMExtensionIterator
public FOMExtensionIterator(org.apache.axiom.om.OMElement parent)
- Constructor OMChildrenQNameIterator.
- Parameters:
currentChild
- givenQName
-
FOMExtensionIterator
public FOMExtensionIterator(org.apache.axiom.om.OMElement parent,
String extns)
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 org.apache.axiom.om.impl.traverse.OMChildrenIterator
- Returns:
- Returns true if the iterator has more elements.
next
public Object next()
- Specified by:
next
in interface Iterator
- Overrides:
next
in class org.apache.axiom.om.impl.traverse.OMChildrenIterator
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.