public class StyleSheetFunctionCall extends Function
staticContext| Constructor and Description |
|---|
StyleSheetFunctionCall() |
| Modifier and Type | Method and Description |
|---|---|
Value |
evaluate(Context c)
Evaluate the function
|
int |
getDataType()
Determine the data type of the expression, if possible
|
int |
getDependencies()
Determine which aspects of the context the expression depends on.
|
java.lang.String |
getName()
Get the name of the function.
|
Expression |
reduce(int dependencies,
Context context)
Remove dependencies.
|
void |
setFunction(SAXONFunction f)
Create the reference to the saxon:function element
|
Expression |
simplify()
Simplify the function call
|
addArgument, checkArgumentCount, display, getNumberOfArgumentscontainsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, setStaticContext, usesCurrentpublic void setFunction(SAXONFunction f)
public java.lang.String getName()
public int getDataType()
getDataType in class Expressionpublic Expression simplify() throws XPathException
simplify in class ExpressionXPathExceptionpublic int getDependencies()
getDependencies in class Expressionpublic Expression reduce(int dependencies, Context context) throws XPathException
reduce in class Expressiondependencies - The dependencies to be removed, e.g. Context.VARIABLEScontext - The context to be used for the partial evaluationXPathExceptionpublic Value evaluate(Context c) throws XPathException
evaluate in class Expressioncontext - The context in which the function is to be evaluatedXPathException - if the function cannot be evaluated.