|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xpath.compiler.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.
Field Summary | |
private int |
m_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. |
private String |
m_funcName
The class name of the function. |
Constructor Summary | |
FuncLoader(String funcName,
int funcID)
Construct a function loader |
Method Summary | |
Function |
getFunction()
Get a Function instance that this instance is liaisoning for. |
String |
getName()
Get the local class name of the function class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int m_funcID
FunctionTable
, but may
be a value installed by an external module.
private String m_funcName
Constructor Detail |
public FuncLoader(String funcName, int funcID)
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.Method Detail |
public String getName()
public Function getFunction() throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
- if ClassNotFoundException,
IllegalAccessException, or InstantiationException is thrown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |