Class SefFunction
java.lang.Object
net.sf.saxon.functions.AbstractFunction
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.registry.SefFunction
- All Implemented Interfaces:
Callable, Function, GroundedValue, Item, Sequence
- Direct Known Subclasses:
XPath40FunctionSet.HighestOrLowest
Represents a system function whose implementation is written in XSLT, and which
is implemented here by loading the pre-compiled code from a system SEF file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(XPathContext context, Sequence[] args) Invoke the functionprotected SequencecallFunction(XPathContext context, SymbolicName.F name, Sequence[] args) makeFunctionCall(Expression... arguments) Make an expression that either calls this function, or that is equivalent to a call on this functionvoidSet the details of this type of functionMethods inherited from class SystemFunction
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeOptimizedFunctionCall, resultIfEmpty, setArity, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCallerMethods inherited from class AbstractFunction
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getSerialNumber, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheckMethods inherited from interface GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface Item
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceMethods inherited from interface Sequence
makeRepeatable
-
Field Details
-
functionAlias
-
pack
-
-
Constructor Details
-
SefFunction
public SefFunction()
-
-
Method Details
-
setDetails
Set the details of this type of function- Overrides:
setDetailsin classSystemFunction- Parameters:
entry- information giving details of the function signature and other function properties
-
makeFunctionCall
Make an expression that either calls this function, or that is equivalent to a call on this function- Overrides:
makeFunctionCallin classSystemFunction- Parameters:
arguments- the supplied arguments to the function call- Returns:
- either a function call on this function, or an expression that delivers the same result
-
callFunction
protected Sequence callFunction(XPathContext context, SymbolicName.F name, Sequence[] args) throws XPathException - Throws:
XPathException
-
call
Invoke the function- Parameters:
context- the XPath dynamic evaluation contextargs- the actual arguments to be supplied- Returns:
- the result of invoking the function
- Throws:
XPathException- if a dynamic error occurs within the function
-