Package org.jaxen.util
Class StackedIterator
- java.lang.Object
-
- org.jaxen.util.StackedIterator
-
- All Implemented Interfaces:
java.util.Iterator
public abstract class StackedIterator extends java.lang.Object implements java.util.Iterator
Deprecated.this iterator is no longer used to implement any of the Jaxen axes. If you have implemented a navigator-specific axis based on this class, take a look at the DescendantAxisIterator for ideas on how to remove that dependency.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set
created
Deprecated.private java.util.LinkedList
iteratorStack
Deprecated.private Navigator
navigator
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
StackedIterator()
Deprecated.StackedIterator(java.lang.Object contextNode, Navigator navigator)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract java.util.Iterator
createIterator(java.lang.Object contextNode)
Deprecated.private java.util.Iterator
currentIterator()
Deprecated.protected Navigator
getNavigator()
Deprecated.boolean
hasNext()
Deprecated.protected void
init(java.lang.Object contextNode, Navigator navigator)
Deprecated.protected java.util.Iterator
internalCreateIterator(java.lang.Object contextNode)
Deprecated.java.lang.Object
next()
Deprecated.protected void
pushIterator(java.util.Iterator iter)
Deprecated.void
remove()
Deprecated.
-
-
-
Field Detail
-
iteratorStack
private java.util.LinkedList iteratorStack
Deprecated.
-
navigator
private Navigator navigator
Deprecated.
-
created
private java.util.Set created
Deprecated.
-
-
Constructor Detail
-
StackedIterator
public StackedIterator(java.lang.Object contextNode, Navigator navigator)
Deprecated.
-
StackedIterator
protected StackedIterator()
Deprecated.
-
-
Method Detail
-
init
protected void init(java.lang.Object contextNode, Navigator navigator)
Deprecated.
-
internalCreateIterator
protected java.util.Iterator internalCreateIterator(java.lang.Object contextNode)
Deprecated.
-
hasNext
public boolean hasNext()
Deprecated.- Specified by:
hasNext
in interfacejava.util.Iterator
-
next
public java.lang.Object next() throws java.util.NoSuchElementException
Deprecated.- Specified by:
next
in interfacejava.util.Iterator
- Throws:
java.util.NoSuchElementException
-
remove
public void remove() throws java.lang.UnsupportedOperationException
Deprecated.- Specified by:
remove
in interfacejava.util.Iterator
- Throws:
java.lang.UnsupportedOperationException
-
createIterator
protected abstract java.util.Iterator createIterator(java.lang.Object contextNode)
Deprecated.
-
pushIterator
protected void pushIterator(java.util.Iterator iter)
Deprecated.
-
currentIterator
private java.util.Iterator currentIterator()
Deprecated.
-
getNavigator
protected Navigator getNavigator()
Deprecated.
-
-