net.sf.saxon.functions
public class IntegratedFunctionCall extends FunctionCall
| Constructor Summary | |
|---|---|
| IntegratedFunctionCall(ExtensionFunctionCall function) | |
| Method Summary | |
|---|---|
| void | checkArguments(ExpressionVisitor visitor)
Method called during static type checking |
| protected int | computeCardinality()
Compute the static cardinality of this expression |
| protected int | computeSpecialProperties()
Compute the special properties of this expression. |
| Expression | copy()
Copy an expression. |
| boolean | effectiveBooleanValue(XPathContext context)
Get the effective boolean value of the expression. |
| ExtensionFunctionCall | getFunction()
Get the underlying IntegratedFunction |
| int | getIntrinsicDependencies()
Determine the intrinsic dependencies of an expression, that is, those which are not derived
from the dependencies of its subexpressions. |
| ItemType | getItemType(TypeHierarchy th)
Determine the data type of the expression, if possible. |
| SequenceIterator | iterate(XPathContext context)
Return an Iterator to iterate over the values of a sequence. |
| Expression | preEvaluate(ExpressionVisitor visitor)
Pre-evaluate a function at compile time. |
| Expression | typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
Type-check the expression. |
Returns: the computed cardinality, as one of the values ALLOWS_ZERO_OR_ONE, EXACTLY_ONE, ALLOWS_ONE_OR_MORE, ALLOWS_ZERO_OR_MORE
Returns: the special properties, as a bit-significant integer
Returns: the copy of the original expression
Parameters: context The context in which the expression is to be evaluated
Returns: the effective boolean value
Throws: net.sf.saxon.trans.XPathException if any dynamic error occurs evaluating the expression
Returns: a set of bit-significant flags identifying the "intrinsic" dependencies. The flags are documented in class net.sf.saxon.value.StaticProperty
This method should always return a result, though it may be the best approximation that is available at the time.
Parameters: th the type hierarchy cache
Returns: a value such as Type.STRING, Type.BOOLEAN, Type.NUMBER, Type.NODE, or Type.ITEM (meaning not known at compile time)
Parameters: context supplies the context for evaluation
Returns: a SequenceIterator that can be used to iterate over the result of the expression
Throws: net.sf.saxon.trans.XPathException if any dynamic error occurs evaluating the expression
Parameters: visitor an expression visitor
Returns: the result of the early evaluation, or the original expression, or potentially a simplified expression