|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.SimpleFunctionContext
org.jaxen.XPathFunctionContext
public class XPathFunctionContext
A 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
Field Summary | |
---|---|
private 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 |
private void |
registerExtensionFunctions()
|
private void |
registerXPathFunctions()
|
private void |
registerXSLTFunctions()
|
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 |
Field Detail |
---|
private static XPathFunctionContext instance
Constructor Detail |
---|
public XPathFunctionContext()
public XPathFunctionContext(boolean includeExtensionFunctions)
includeExtensionFunctions
- if true extension functions are included;
if false, they aren'tMethod Detail |
---|
public static FunctionContext getInstance()
private void registerXPathFunctions()
private void registerXSLTFunctions()
private void registerExtensionFunctions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |