- All Implemented Interfaces:
- Serializable, FunctionLibrary
public class ExtraFunctionLibrary
- extends VendorFunctionLibrary
The ExtraFunctionLibrary represents additions to the set of Saxon vendor-supplied
extension functions that are available only with the Saxon-PE and Saxon-EE editions
- See Also:
- Serialized Form
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ExtraFunctionLibrary(Configuration config)
protected void init(Configuration config)
- Initialize the set of functions available
public Expression bind(StructuredQName functionName,
- Bind an extension function, given the URI and local parts of the function name,
and the list of expressions supplied as arguments. This method is called at compile
- Specified by:
bind in interface
bind in class
functionName - the name of the function
staticArgs - 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.
- An object representing the extension function to be called, if one is found;
null if no extension function was found matching the required name and arity.
XPathException - 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-2010 Saxonica Limited. All rights reserved.