Package net.sf.saxon.query
Interface XQueryFunctionBinder
- All Superinterfaces:
FunctionLibrary
- All Known Implementing Classes:
FunctionLibraryList,ImportedFunctionLibrary,XQueryFunctionLibrary
XQueryFunctionBinder is an extension of the FunctionLibrary interface used for function libraries
that contain user-written XQuery functions. It provides a method that allows the XQueryFunction
with a given name and arity to be located.
-
Method Summary
Modifier and TypeMethodDescriptiongetDeclaration(StructuredQName functionName, int staticArgs) Get the function declaration corresponding to a given function name and arityMethods inherited from interface net.sf.saxon.functions.FunctionLibrary
bind, copy, getFunctionItem, isAvailable, setConfiguration
-
Method Details
-
getDeclaration
Get the function declaration corresponding to a given function name and arity- Parameters:
functionName- the name of the function as a QNamestaticArgs- the number of expressions supplied as arguments in the function call- Returns:
- the XQueryFunction if there is one, or null if not.
-