com.jclark.xsl.expr
Class FilterNodeIterator

java.lang.Object
  |
  +--com.jclark.xsl.expr.DelegateExprContext
        |
        +--com.jclark.xsl.expr.FilterNodeIterator
All Implemented Interfaces:
ExprContext, NodeIterator

class FilterNodeIterator
extends DelegateExprContext
implements NodeIterator


Field Summary
(package private)  ExprContext origContext
           
 
Constructor Summary
(package private) FilterNodeIterator(NodeIterator iter, ExprContext origContext, BooleanExpr predicate)
           
 
Method Summary
 Node getCurrent(Node contextNode)
           
 NodeIterator getDocument(java.net.URL baseURL, java.lang.String uriRef)
           
 ExtensionContext getExtensionContext(java.lang.String namespace)
           
 Variant getGlobalVariableValue(Name name)
           
 int getLastPosition()
           
 Variant getLocalVariableValue(Name name)
           
 int getPosition()
           
 Variant getSystemProperty(Name name)
           
 Node getTree(Variant v)
           
 Node next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origContext

ExprContext origContext
Constructor Detail

FilterNodeIterator

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

next

public Node next()
          throws XSLException
Specified by:
next in interface NodeIterator
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
XSLException

getLocalVariableValue

public Variant getLocalVariableValue(Name name)
                              throws XSLException
Specified by:
getLocalVariableValue in interface ExprContext
XSLException

getGlobalVariableValue

public Variant getGlobalVariableValue(Name name)
                               throws XSLException
Specified by:
getGlobalVariableValue in interface ExprContext
XSLException

getExtensionContext

public ExtensionContext getExtensionContext(java.lang.String namespace)
                                     throws XSLException
Specified by:
getExtensionContext in interface ExprContext
XSLException

getSystemProperty

public Variant getSystemProperty(Name name)
Specified by:
getSystemProperty in interface ExprContext

getCurrent

public Node getCurrent(Node contextNode)
Specified by:
getCurrent in interface ExprContext

getDocument

public NodeIterator getDocument(java.net.URL baseURL,
                                java.lang.String uriRef)
                         throws XSLException
Specified by:
getDocument in interface ExprContext
XSLException

getTree

public Node getTree(Variant v)
             throws XSLException
Specified by:
getTree in interface ExprContext
XSLException