public class Outermost extends SystemFunction
| Constructor and Description |
|---|
Outermost() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression in a dynamic call
|
void |
exportAttributes(ExpressionPresenter out)
Export any context attributes held within the SystemFunction object.
|
int |
getSpecialProperties(Expression[] arguments)
Determine the special properties of this function.
|
java.lang.String |
getStreamerName()
Get a name that identifies the class that can be used to evaluate this function
in streaming mode, that is, supplying one item or event at a time as it is
delivered by the parser.
|
void |
importAttributes(java.util.Properties attributes)
Import any attributes found in the export file, that is, any attributes output using
the exportAttributes method
|
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckgetLength, head, isStreamed, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic Expression makeOptimizedFunctionCall(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo, Expression... arguments) throws XPathException
makeOptimizedFunctionCall in class SystemFunctionvisitor - the expression visitorcontextInfo - information about the context itemarguments - the supplied arguments to the function callXPathException - if an error is detectedpublic int getSpecialProperties(Expression[] arguments)
SystemFunctiongetSpecialProperties in class SystemFunctionarguments - the actual arguments supplied in a call to the functionpublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequencesXPathException - if a dynamic error occurs during the evaluation of the expressionpublic void exportAttributes(ExpressionPresenter out)
SystemFunctionexportAttributes in class SystemFunctionout - the export destinationpublic void importAttributes(java.util.Properties attributes)
throws XPathException
SystemFunctionimportAttributes in class SystemFunctionattributes - the attributes, as a properties objectXPathExceptionpublic java.lang.String getStreamerName()
SystemFunctiongetStreamerName in class SystemFunctionStreamerMap. In non-streaming Saxon editions
(HE and PE) the method always returns null.Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.