org.jaxen.util
Class StackedIterator

java.lang.Object
  extended byorg.jaxen.util.StackedIterator
All Implemented Interfaces:
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.

public abstract class StackedIterator
extends java.lang.Object
implements java.util.Iterator


Constructor Summary
protected StackedIterator()
          Deprecated.  
  StackedIterator(java.lang.Object contextNode, Navigator navigator)
          Deprecated.  
 
Method Summary
protected abstract  java.util.Iterator createIterator(java.lang.Object contextNode)
          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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface java.util.Iterator

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Deprecated. 
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Deprecated. 
Specified by:
remove in interface java.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. 

getNavigator

protected Navigator getNavigator()
Deprecated. 


Copyright © 2001-2005 Codehaus. All Rights Reserved.