org.apache.xpath.compiler
Class FuncLoader
Lazy load of functions into the function table as needed, so we don't
have to load all the functions allowed in XPath and XSLT on startup.
FuncLoader(String funcName, int funcID) - Construct a function loader
|
Function | getFunction() - Get a Function instance that this instance is liaisoning for.
|
String | getName() - Get the local class name of the function class.
|
FuncLoader
public FuncLoader(String funcName,
int funcID)
Construct a function loader
funcName
- The class name of the {org.apache.xpath.functions.Function}
class, which, if it does not have a '.' in it, is assumed to
be relative to 'org.apache.xpath.functions'.funcID
- The function ID, which may correspond to one of the FUNC_XXX
values found in FunctionTable
, but may
be a value installed by an external module.
getFunction
public Function getFunction()
throws TransformerException
Get a Function instance that this instance is liaisoning for.
- non-null reference to Function derivative.
getName
public String getName()
Get the local class name of the function class. If function name does
not have a '.' in it, it is assumed to be relative to
'org.apache.xpath.functions'.
- The class name of the {org.apache.xpath.functions.Function} class.
Copyright B) 2004 Apache XML Project. All Rights Reserved.