Java Doc for XPathFunctionCall.java in » XML » saxonb » net » sf » saxon » xpath » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Call an extension function previously identified using the bind() method. A subclass
can override this method.
Parameters: argValues - The values of the arguments The value returned by the extension function
Determine which aspects of the context the expression depends on. XPath external
functions are given no access to context information so they cannot have any
dependencies on it.
Determine the data type of the expression, if possible. All expressions return
sequences, in general; this method determines the type of the items within the
sequence, assuming that (a) this is known in advance, and (b) it is the same for
all items in the sequence.
This method will always return a result, though it may be the best approximation
that is available at the time.
Parameters: context - The context in which the function is to be evaluated a Value representing the result of the function. throws: XPathException - if the function cannot be evaluated.
preEvaluate: this method suppresses compile-time evaluation by doing nothing
(because the external function might have side-effects and might use the context)
Fields inherited from net.sf.saxon.expr.FunctionCall