public class VendorFunctionLibraryEE extends VendorFunctionLibraryPE
config
Constructor and Description |
---|
VendorFunctionLibraryEE(Configuration config) |
Modifier and Type | Method and Description |
---|---|
Expression |
bind(SymbolicName symbolicName,
Expression[] staticArgs,
StaticContext env)
Bind an extension function, given the URI and local parts of the function name,
and the list of expressions supplied as arguments.
|
FunctionLibrary |
copy()
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 void |
init()
Initialize the set of functions available
|
checkArgumentCount
makeSaxonFunction
getFunctionItem, isAvailable, makeFunctionCall, registerFunction
public VendorFunctionLibraryEE(Configuration config)
protected void init()
init
in class VendorFunctionLibraryPE
public FunctionLibrary copy()
IntegratedFunctionLibrary
copy
in interface FunctionLibrary
copy
in class VendorFunctionLibraryPE
public Expression bind(SymbolicName symbolicName, Expression[] staticArgs, StaticContext env) throws XPathException
bind
in interface FunctionLibrary
bind
in class VendorFunctionLibraryPE
symbolicName
- the name and arity of the functionstaticArgs
- The expressions supplied statically in the function call. The intention is
that the static type of the arguments (obtainable via getItemType() and getCardinality() may
be used as part of the binding algorithm.env
- The static contextXPathException
- if a function is found with the required name and arity, but
the implementation of the function cannot be loaded or used; or if an error occurs
while searching for the function; or if this function library "owns" the namespace containing
the function call, but no function was found.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.