com.icl.saxon.expr
Class StyleSheetFunctionCall
public class StyleSheetFunctionCall
This class represents a call to a function defined in the stylesheet
containsReferences , display , enumerate , evaluate , evaluateAsBoolean , evaluateAsNodeSet , evaluateAsNumber , evaluateAsString , getDataType , getDependencies , getStaticContext , indent , isContextDocumentNodeSet , make , outputStringValue , reduce , setStaticContext , simplify , usesCurrent |
evaluate
public Value evaluate(Context c)
throws XPathException
Evaluate the function
- evaluate in interface Expression
- a Value representing the result of the function. This must be of the data type
corresponding to the result of getType().
getDataType
public int getDataType()
Determine the data type of the expression, if possible
- getDataType in interface Expression
- Value.ANY (meaning not known in advance)
getDependencies
public int getDependencies()
Determine which aspects of the context the expression depends on. The result is
a bitwise-or'ed value composed from constants such as Context.VARIABLES and
Context.CURRENT_NODE
- getDependencies in interface Expression
getName
public String getName()
Get the name of the function.
- getName in interface Function
- the name of the function, as used in XSL expressions, but excluding
its namespace prefix
setFunction
public void setFunction(SAXONFunction f)
Create the reference to the saxon:function element