org.apache.abdera.parser.stax.util
Class FOMElementIterator
java.lang.Object
org.apache.axiom.om.impl.traverse.OMChildrenIterator
org.apache.abdera.parser.stax.util.FOMElementIterator
- All Implemented Interfaces:
- Iterator
- Direct Known Subclasses:
- FOMLinkIterator
public class FOMElementIterator
- extends org.apache.axiom.om.impl.traverse.OMChildrenIterator
Fields inherited from class org.apache.axiom.om.impl.traverse.OMChildrenIterator |
currentChild, lastChild, nextCalled, removeCalled |
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 |
attribute
protected QName attribute
- Field givenQName
value
protected String value
defaultValue
protected String defaultValue
_class
protected Class _class
FOMElementIterator
public FOMElementIterator(Element parent,
Class _class)
- Constructor OMChildrenQNameIterator.
- Parameters:
currentChild
- givenQName
-
FOMElementIterator
public FOMElementIterator(Element parent,
Class _class,
QName attribute,
String value,
String defaultValue)
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
isMatch
protected boolean isMatch(Element el)
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.