public class HereFunction
extends java.lang.Object
implements org.jaxen.Function
here()
function, as defined in the IETF/W3C XML Signature specification, for the jaxen XPath engine.Constructor and Description |
---|
HereFunction()
Instantiates a new
HereFunction instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(org.jaxen.Context context, java.util.List args)
Call this function.
|
public java.lang.Object call(org.jaxen.Context context, java.util.List args) throws org.jaxen.FunctionCallException
call
in interface org.jaxen.Function
context
- The context at the point in the expression when the function is called. The Context
must have a ContextSupport
instance of type HereFunctionContextSupport
installed.args
- List of arguments provided during the call of the function. Must be null
or length 0.java.util.List
containing the node bearing the XPath expression.org.jaxen.FunctionCallException
- If the XPath node could not be obtained from the HereFunctionContextSupport
; or if the context node is not in the same document as the XPath node; or if the given XPath node is not one of the allowable node types.