public class LoadXqueryModule extends SystemFunction implements Callable
Constructor and Description |
---|
LoadXqueryModule() |
Modifier and Type | Method and Description |
---|---|
MapItem |
call(XPathContext context,
Sequence[] args)
Invoke the function
|
XPathContext |
makeNewContext(XPathContext callingContext,
ContextOriginator originator)
Prepare an XPathContext object for evaluating the function
|
static OptionsParameter |
makeOptionsParameter() |
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, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, simplify, typeCheck
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
asIterable, concatenate, containsNode, materialize
makeRepeatable
public static OptionsParameter makeOptionsParameter()
public XPathContext makeNewContext(XPathContext callingContext, ContextOriginator originator)
makeNewContext
in interface Function
makeNewContext
in class AbstractFunction
callingContext
- the XPathContext of the function calling expressionoriginator
- identifies the location of the caller for diagnosticspublic MapItem call(XPathContext context, Sequence[] args) throws XPathException
call
in interface Callable
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.