|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xml.xpath.FunctionLibraryImpl
Implementation of com.novell.xml.xpath.FunctionLibrary for convenience.
| Constructor Summary | |
FunctionLibraryImpl()
|
|
| Method Summary | |
void |
addFunction(Function function)
Add a function to the library |
protected Function |
findFunction(ExpandedQName name)
Return a function implementation by name, or null if no implementation is available for the passed name. |
Function |
getFunction(ExpandedQName name)
Return an object of type Function given the function name. |
boolean |
isFunctionAvailable(ExpressionContext context,
ExpandedQName name)
Return true if a function under a given name is available |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FunctionLibraryImpl()
| Method Detail |
public Function getFunction(ExpandedQName name)
throws XPathParserException
Function given the function name.
getFunction in interface FunctionLibraryname - name of the function to find
Function object
XPathParserException
public boolean isFunctionAvailable(ExpressionContext context,
ExpandedQName name)
isFunctionAvailable in interface FunctionLibrarycontext - the expression contextname - name of the functionpublic void addFunction(Function function)
addFunction in interface FunctionLibraryfunction - The function to bind.protected Function findFunction(ExpandedQName name)
name - The expanded name of the function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||