|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.expr.function.FunctionLibrary
FunctionLibrary represents a set of functions.
Constructor Summary | |
FunctionLibrary()
Create a FunctionLibrary. |
|
FunctionLibrary(int size)
Create a FunctionLibrary. |
Method Summary | |
protected void |
addFunction(String name,
String className)
Add a function to the library. |
boolean |
containsFunction(String name)
Test if the library contains a function. |
Function |
createFunction(String name)
Create the function with the given name. |
String |
getFunctionClassName(String name)
Return the name of a function implentation. |
Enumeration |
getFunctionNames()
Return a Enumeration of the function names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionLibrary()
public FunctionLibrary(int size)
size
- the expected size of the library.Method Detail |
protected void addFunction(String name, String className)
public boolean containsFunction(String name)
public Function createFunction(String name) throws InstantiationException, ClassNotFoundException, IllegalAccessException
InstantiationException
ClassNotFoundException
IllegalAccessException
public String getFunctionClassName(String name)
public Enumeration getFunctionNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |