public class SefFunction extends SystemFunction
Modifier and Type | Field and Description |
---|---|
protected SymbolicName.F |
functionAlias |
protected StylesheetPackage |
pack |
Constructor and Description |
---|
SefFunction() |
Modifier and Type | Method and Description |
---|---|
Sequence |
call(XPathContext context,
Sequence[] args)
Invoke the function
|
protected Sequence |
callFunction(XPathContext context,
SymbolicName.F name,
Sequence[] args) |
Expression |
makeFunctionCall(Expression... arguments)
Make an expression that either calls this function, or that is equivalent to a call
on this function
|
void |
setDetails(BuiltInFunctionSet.Entry entry)
Set the details of this type of function
|
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, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheck
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
asIterable, concatenate, containsNode, materialize
makeRepeatable
protected SymbolicName.F functionAlias
protected StylesheetPackage pack
public void setDetails(BuiltInFunctionSet.Entry entry)
setDetails
in class SystemFunction
entry
- information giving details of the function signature and other function propertiespublic Expression makeFunctionCall(Expression... arguments)
makeFunctionCall
in class SystemFunction
arguments
- the supplied arguments to the function callprotected Sequence callFunction(XPathContext context, SymbolicName.F name, Sequence[] args) throws XPathException
XPathException
public Sequence call(XPathContext context, Sequence[] args) throws XPathException
context
- the XPath dynamic evaluation contextargs
- the actual arguments to be suppliedXPathException
- if a dynamic error occurs within the functionCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.