Class 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.
    • 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.
       
      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
      • Methods inherited from interface java.util.Iterator

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