Class VendorFunctionLibrary
java.lang.Object
net.sf.saxon.functions.IntegratedFunctionLibrary
net.sf.saxon.functions.VendorFunctionLibrary
- All Implemented Interfaces:
Serializable, FunctionLibrary
The VendorFunctionLibrary represents specially-recognized functions in the Saxon namespace.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()This method creates a copy of a FunctionLibrary: if the original FunctionLibrary allows new functions to be added, then additions to this copy will not affect the original, or vice versa.protected voidinit()makeSaxonFunction(String localName, Expression[] arguments, StaticContext env, Container container) Make a Saxon function with a given nameMethods inherited from class IntegratedFunctionLibrary
bind, getFunctionSignature, iterateFunctionNames, registerFunction
-
Constructor Details
-
VendorFunctionLibrary
public VendorFunctionLibrary()Create the Vendor Function Library for Saxon
-
-
Method Details
-
init
protected void init() -
copy
Description copied from class:IntegratedFunctionLibraryThis method creates a copy of a FunctionLibrary: if the original FunctionLibrary allows new functions to be added, then additions to this copy will not affect the original, or vice versa.- Specified by:
copyin interfaceFunctionLibrary- Overrides:
copyin classIntegratedFunctionLibrary- Returns:
- a copy of this function library. This must be an instance of the original class.
-
makeSaxonFunction
public Expression makeSaxonFunction(String localName, Expression[] arguments, StaticContext env, Container container) throws XPathException Make a Saxon function with a given name- Parameters:
localName- the local name of the functionarguments- the arguments of the functionenv- the static contextcontainer- the container for the new expression- Returns:
- an exprssion representing a call on the given function
- Throws:
XPathException
-