com.icl.saxon.functions
Class Contains
containsReferences , display , enumerate , evaluate , evaluateAsBoolean , evaluateAsNodeSet , evaluateAsNumber , evaluateAsString , getDataType , getDependencies , getStaticContext , indent , isContextDocumentNodeSet , make , outputStringValue , reduce , setStaticContext , simplify , usesCurrent |
evaluateAsBoolean
public boolean evaluateAsBoolean(Context c)
throws XPathException
Evaluate the function in a boolean context
- evaluateAsBoolean in interface Expression
getDataType
public int getDataType()
Determine the data type of the expression
- getDataType in interface Expression
- Value.BOOLEAN
getDependencies
public int getDependencies()
Determine the dependencies
- getDependencies in interface Expression
getName
public String getName()
Function name (for diagnostics)
- getName in interface Function
simplify
public Expression simplify()
throws XPathException
Simplify and validate.
This is a pure function so it can be simplified in advance if the arguments are known
- simplify in interface Expression