|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--com.werken.xpath.XPathFunctionContext
Implementation of FunctionContext
which
matches the core function library as described by the W3C XPath
Specification.
May be directly instantiated or subclassed. A Singleton is provided for ease-of-use in the default case of bare XPaths.
コンストラクタの概要 | |
XPathFunctionContext()
|
メソッドの概要 | |
protected void |
addFunction(java.lang.String name,
Function func)
Add a function to this FunctionContext |
Function |
getFunction(java.lang.String name)
Retrieve a named function Retrieve the named function object, or null if no such function exists. |
static XPathFunctionContext |
getInstance()
Get the XPathFunctionContext singleton. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public XPathFunctionContext()
メソッドの詳細 |
public static XPathFunctionContext getInstance()
protected void addFunction(java.lang.String name, Function func)
name
- The name of the function.func
- The implementing Function Object.public Function getFunction(java.lang.String name)
Retrieve the named function object, or null if no such function exists.
FunctionContext
内の getFunction
name
- The name of the function sought.Function
matching the specified name.com.werken.xpath.ContextHelper#setFunctionContext
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |