org.jaxen
Class XPathFunctionContext
java.lang.Object
|
+--org.jaxen.SimpleFunctionContext
|
+--org.jaxen.XPathFunctionContext
- All Implemented Interfaces:
- FunctionContext
- public class XPathFunctionContext
- extends SimpleFunctionContext
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(java.lang.String, java.lang.String, org.jaxen.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:
- matrix-concat(..)
- evaluate(..)
- Author:
- bob mcwhirter
- See Also:
FunctionContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathFunctionContext
public XPathFunctionContext()
- Construct.
Construct with all core XPath functions registered.
getInstance
public static FunctionContext getInstance()
- Retrieve the singleton instance.
- Returns:
- The singleton instance.
Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by