Package | Description |
---|---|
net.sf.practicalxml.xpath |
This package support classes that are primarily used for XPath evaluation.
|
Modifier and Type | Method and Description |
---|---|
FunctionResolver |
FunctionResolver.addFunction(FunctionResolver.SelfDescribingFunction func)
Adds an instance of of
#SelfDescribingFunction to this resolver. |
FunctionResolver |
FunctionResolver.addFunction(XPathFunction func,
QName name)
Adds a normal
XPathFunction to this resolver, without
specifying argument count. |
FunctionResolver |
FunctionResolver.addFunction(XPathFunction func,
QName name,
int argCount)
Adds a normal
XPathFunction to this resolver. |
FunctionResolver |
FunctionResolver.addFunction(XPathFunction func,
QName name,
int minArgCount,
int maxArgCount)
Adds a normal
XPathFunction to this resolver. |
FunctionResolver |
FunctionResolver.clone()
Returns a shallow clone of this object, containing all existing
functions in a new lookup table.
|
Modifier and Type | Method and Description |
---|---|
XPathWrapper |
XPathWrapper.setFunctionResolver(FunctionResolver resolver)
Attaches a pre-build
FunctionResolver to this wrapper,
replacing the existing resolver (and removing all bound functions). |