com.jclark.xsl.expr
Class FilterNodeIterator

java.lang.Object
  extended by com.jclark.xsl.expr.DelegateExprContext
      extended by com.jclark.xsl.expr.FilterNodeIterator
All Implemented Interfaces:
ExprContext, NodeIterator

 class FilterNodeIterator
extends DelegateExprContext
implements NodeIterator


Field Summary
 
Fields inherited from class com.jclark.xsl.expr.DelegateExprContext
origContext
 
Constructor Summary
FilterNodeIterator(NodeIterator iter, ExprContext origContext, BooleanExpr predicate)
           
 
Method Summary
 int getLastPosition()
           
 int getPosition()
           
 Node next()
          return the next Node in the list
 
Methods inherited from class com.jclark.xsl.expr.DelegateExprContext
getCurrent, getDocument, getExtensionContext, getGlobalVariableValue, getKeyValuesTable, getLocalVariableValue, getSystemProperty, getTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterNodeIterator

FilterNodeIterator(NodeIterator iter,
                   ExprContext origContext,
                   BooleanExpr predicate)
Method Detail

next

public Node next()
          throws XSLException
Description copied from interface: NodeIterator
return the next Node in the list

Specified by:
next in interface NodeIterator
Throws:
XSLException

getPosition

public int getPosition()
Specified by:
getPosition in interface ExprContext
Overrides:
getPosition in class DelegateExprContext

getLastPosition

public int getLastPosition()
                    throws XSLException
Specified by:
getLastPosition in interface ExprContext
Overrides:
getLastPosition in class DelegateExprContext
Throws:
XSLException