Package net.sf.saxon.functions.hof
Class LoadXqueryModule
- java.lang.Object
- 
- net.sf.saxon.functions.AbstractFunction
- 
- net.sf.saxon.functions.SystemFunction
- 
- net.sf.saxon.functions.hof.LoadXqueryModule
 
 
 
- 
- All Implemented Interfaces:
- Callable,- Function,- GroundedValue,- Item,- Sequence
 
 public class LoadXqueryModule extends SystemFunction implements Callable This class implements the function load-xquery-module(), which is a standard function in XPath 3.1. It is classified as a higher-order function and therefore requires Saxon-PE or higher.
- 
- 
Constructor SummaryConstructors Constructor Description LoadXqueryModule()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapItemcall(XPathContext context, Sequence[] args)Invoke the functionXPathContextmakeNewContext(XPathContext callingContext, ContextOriginator originator)Prepare an XPathContext object for evaluating the functionstatic OptionsParametermakeOptionsParameter()- 
Methods inherited from class net.sf.saxon.functions.SystemFunctiondependsOnContextItem, 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
 - 
Methods inherited from class net.sf.saxon.functions.AbstractFunctionatomize, deepEquals, effectiveBooleanValue, getAnnotations, getSerialNumber, getUnicodeStringValue, isArray, isMap, simplify, typeCheck
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface net.sf.saxon.om.GroundedValueasIterable, concatenate, containsNode, materialize
 - 
Methods inherited from interface net.sf.saxon.om.ItemgetLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
 - 
Methods inherited from interface net.sf.saxon.om.SequencemakeRepeatable
 
- 
 
- 
- 
- 
Method Detail- 
makeOptionsParameterpublic static OptionsParameter makeOptionsParameter() 
 - 
makeNewContextpublic XPathContext makeNewContext(XPathContext callingContext, ContextOriginator originator) Prepare an XPathContext object for evaluating the function- Specified by:
- makeNewContextin interface- Function
- Overrides:
- makeNewContextin class- AbstractFunction
- Parameters:
- callingContext- the XPathContext of the function calling expression
- originator- identifies the location of the caller for diagnostics
- Returns:
- a suitable context for evaluating the function (which may or may not be the same as the caller's context)
 
 - 
callpublic MapItem call(XPathContext context, Sequence[] args) throws XPathException Invoke the function- Specified by:
- callin interface- Callable
- Parameters:
- context- the XPath dynamic evaluation context
- args- the actual arguments to be supplied
- Returns:
- the result of invoking the function
- Throws:
- XPathException- if a dynamic error occurs within the function
 
 
- 
 
-