public class ApplyFn extends SystemFunction
| Constructor and Description |
|---|
ApplyFn() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
void |
exportAttributes(ExpressionPresenter out)
Export any context attributes held within the SystemFunction object.
|
ItemType |
getResultItemType(Expression[] args)
Get the return type, given knowledge of the actual arguments
|
void |
importAttributes(Properties attributes)
Import any attributes found in the export file, that is, any attributes output using
the exportAttributes method
|
boolean |
isDynamicFunctionCall()
Ask whether this call to fn:apply was originally written as a dynamic function call
|
void |
setDynamicFunctionCall(String fnExpr)
Say that this call to fn:apply was originally written as a dynamic function call
|
equals, export, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic void setDynamicFunctionCall(String fnExpr)
fnExpr - string representation of the expression used as the dynamic callpublic boolean isDynamicFunctionCall()
public ItemType getResultItemType(Expression[] args)
getResultItemType in class SystemFunctionargs - the actual arguments suppliedpublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments. The first argument is the function item
to be called; the second argument is an array containing
the arguments to be passed to that function, before conversion.XPathException - if a dynamic error occurs during the evaluation of the expressionpublic void exportAttributes(ExpressionPresenter out)
SystemFunctionexportAttributes in class SystemFunctionout - the export destinationpublic void importAttributes(Properties attributes) throws XPathException
importAttributes in class SystemFunctionattributes - the attributes, as a properties objectXPathExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.