com.jclark.xsl.expr

Interface ExprContext

public interface ExprContext

packages up the context available to the XSLT engine when evaluating XPath expressions
Method Summary
NodegetCurrent(Node contextNode)
NodeIteratorgetDocument(URL baseURL, String uriRef)
returns a parsed representation of the document at the given URL.
ExtensionContextgetExtensionContext(String namespace)
VariantgetGlobalVariableValue(Name name)
access to the stylesheet's global variables
KeyValuesTablegetKeyValuesTable(Name keyName, Node n)
intgetLastPosition()
VariantgetLocalVariableValue(Name name)
access to the stylesheet's in-scope local variables
intgetPosition()
VariantgetSystemProperty(Name name)
provides access to the system properties for the system-property() function in XSLT 1.0 section 12.4
NodegetTree(Variant v)

Method Detail

getCurrent

public Node getCurrent(Node contextNode)

getDocument

public NodeIterator getDocument(URL baseURL, String uriRef)
returns a parsed representation of the document at the given URL. ... enables the "document()" function of XSLT 1.0 section 12.1

getExtensionContext

public ExtensionContext getExtensionContext(String namespace)

getGlobalVariableValue

public Variant getGlobalVariableValue(Name name)
access to the stylesheet's global variables

getKeyValuesTable

public KeyValuesTable getKeyValuesTable(Name keyName, Node n)

Returns: the indexed nodes for the named key in the node's document

getLastPosition

public int getLastPosition()

getLocalVariableValue

public Variant getLocalVariableValue(Name name)
access to the stylesheet's in-scope local variables

getPosition

public int getPosition()

getSystemProperty

public Variant getSystemProperty(Name name)
provides access to the system properties for the system-property() function in XSLT 1.0 section 12.4

getTree

public Node getTree(Variant v)