|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionLibrary
An interface for binding providing a function library for evaluating XPath expressions
ExpressionContext
Method Summary | |
---|---|
void |
addFunction(Function function)
Add a function to the library |
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 |
Method Detail |
---|
Function getFunction(ExpandedQName name) throws XPathParserException
name
- The name of the function
XPathParserException
boolean isFunctionAvailable(ExpressionContext context, ExpandedQName name)
true
if a function under a given name is available
context
- the expression contextname
- name of the functionvoid addFunction(Function function)
function
- The function to bind.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |