org.oXML.xpath.iterator
Class PredicateIterator

java.lang.Object
  extended byorg.oXML.xpath.iterator.PredicateIterator
All Implemented Interfaces:
NodeIterator

public class PredicateIterator
extends java.lang.Object
implements NodeIterator


Constructor Summary
PredicateIterator(Nodeset parent, Expression predicate, RuntimeContext context)
           
 
Method Summary
 Node nextNode()
          advance the current node in this nodeset.
 int position()
          get the position of the current node within this nodeset
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PredicateIterator

public PredicateIterator(Nodeset parent,
                         Expression predicate,
                         RuntimeContext context)
Method Detail

nextNode

public Node nextNode()
Description copied from interface: NodeIterator
advance the current node in this nodeset.

Specified by:
nextNode in interface NodeIterator
Returns:
the new current node or null.

position

public int position()
Description copied from interface: NodeIterator
get the position of the current node within this nodeset

Specified by:
position in interface NodeIterator

toString

public java.lang.String toString()