com.jclark.xsl.expr

Class DelegateExprContext

class DelegateExprContext extends Object implements ExprContext

a base class for ExprContext classes that override some methods of an existing ExprContext, and delegate the rest of 'em to that existing ExprContest
Field Summary
ExprContextorigContext
Constructor Summary
DelegateExprContext(ExprContext context)
wrap around an existing ExprContext
Method Summary
NodegetCurrent(Node contextNode)
NodeIteratorgetDocument(URL baseURL, String uriRef)
loads the document at the given URI
ExtensionContextgetExtensionContext(String namespace)
VariantgetGlobalVariableValue(Name name)
KeyValuesTablegetKeyValuesTable(Name keyName, Node contextNode)
intgetLastPosition()
VariantgetLocalVariableValue(Name name)
intgetPosition()
VariantgetSystemProperty(Name name)
NodegetTree(Variant v)

Field Detail

origContext

ExprContext origContext

Constructor Detail

DelegateExprContext

DelegateExprContext(ExprContext context)
wrap around an existing ExprContext

Method Detail

getCurrent

public Node getCurrent(Node contextNode)

getDocument

public NodeIterator getDocument(URL baseURL, String uriRef)
loads the document at the given URI

getExtensionContext

public ExtensionContext getExtensionContext(String namespace)

getGlobalVariableValue

public Variant getGlobalVariableValue(Name name)

getKeyValuesTable

public KeyValuesTable getKeyValuesTable(Name keyName, Node contextNode)

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

getLastPosition

public int getLastPosition()

getLocalVariableValue

public Variant getLocalVariableValue(Name name)

getPosition

public int getPosition()

getSystemProperty

public Variant getSystemProperty(Name name)

getTree

public Node getTree(Variant v)