org.jaxen
public class XPathFunctionContext extends SimpleFunctionContext
FunctionContext
implementing the core XPath
function library, plus Jaxen extensions.
The core XPath function library is provided through this
implementation of FunctionContext
. Additionally,
extension functions have been provided, as enumerated below.
This class is re-entrant and thread-safe. If using the default instance, it is inadvisable to call {@link #registerFunction(String, String, Function)} as that will extend the global function context, affecting other users.
Extension functions:
See Also: FunctionContext org.jaxen.function org.jaxen.function.xslt
Field Summary | |
---|---|
static XPathFunctionContext | instance |
Constructor Summary | |
---|---|
XPathFunctionContext() Create a new XPath function context.
| |
XPathFunctionContext(boolean includeExtensionFunctions) Create a new XPath function context.
|
Method Summary | |
---|---|
static FunctionContext | getInstance() Retrieve the default function context
|
void | registerExtensionFunctions() |
void | registerXPathFunctions() |
void | registerXSLTFunctions() |
Parameters: includeExtensionFunctions if true extension functions are included; if false, they aren't
Returns: the default function context