net.sf.saxon.functions
public class ExtensionFunctionFactory extends Object implements Serializable
Constructor Summary | |
---|---|
ExtensionFunctionFactory(Configuration config) |
Method Summary | |
---|---|
Expression | makeExtensionFunctionCall(int nameCode, Class theClass, AccessibleObject method, Expression[] arguments)
Factory method to create an expression that calls a Java extension function.
|
void | setExtensionFunctionClass(Class subclass)
Set the class to be used to represent extension function calls. |
Parameters: nameCode the name of the function name, as represented in the name pool theClass the Java class containing the extension function method The "accessibleObject" representing a constructor, method, or field corresponding to the extension function arguments Array containing the expressions supplied as arguments to the function call.
Returns: the constructed ExtensionFunctionCall object (a subclass might return any expression representing the extension function call).
Parameters: subclass the subclass of ExtensionFunctionCall to be used