FunctionContext
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
SimpleFunctionContext.registerFunction(String, String, Function)
as that will extend the global function context, affecting other
users.
Extension functions:
FunctionContext
,
org.jaxen.function
,
org.jaxen.function.xslt
,
org.jaxen.function.ext
Constructor | Description |
---|---|
XPathFunctionContext() |
Create a new XPath function context.
|
XPathFunctionContext(boolean includeExtensionFunctions) |
Create a new XPath function context.
|
Modifier and Type | Method | Description |
---|---|---|
static FunctionContext |
getInstance() |
Retrieve the default function context
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFunction, registerFunction
public XPathFunctionContext()
public XPathFunctionContext(boolean includeExtensionFunctions)
includeExtensionFunctions
- if true extension functions are included;
if false, they aren'tpublic static FunctionContext getInstance()
Copyright © 2001–2018 Codehaus. All rights reserved.