|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.SimpleFunctionContext
org.jaxen.XPathFunctionContext
A FunctionContext
implementing the core XPath
function library, with extensions.
The core XPath function library is provided through this
implementation of FunctionContext
. Additionally,
extension functions have been provided, as enumerated below.
This class implements a Singleton pattern (see getInstance()
),
as it is perfectly re-entrant and thread-safe. If using the
singleton, it is inadvisable to call SimpleFunctionContext.registerFunction(String, String, Function)
as that will extend the global function context, affecting other
users of the singleton. But that's your call, really, now isn't
it? That may be what you really want to do.
Extension functions:
FunctionContext
Constructor Summary | |
XPathFunctionContext()
Construct. |
Method Summary | |
static FunctionContext |
getInstance()
Retrieve the singleton instance. |
Methods inherited from class org.jaxen.SimpleFunctionContext |
getFunction, registerFunction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathFunctionContext()
Construct with all core XPath functions registered.
Method Detail |
public static FunctionContext getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |