public class GetPropertyFunction extends Object implements org.jaxen.Function
| Modifier and Type | Field and Description |
|---|---|
static String |
NULL_STRING |
| Constructor and Description |
|---|
GetPropertyFunction(MessageContext synCtx) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(org.jaxen.Context context,
List args)
Returns the string value of the property which is get from the corresponding context to the provided scope .
|
Object |
evaluate(Object scopeObject,
Object keyObject,
Object dateformat,
org.jaxen.Navigator navigator)
Returns the string value of the property using arg one as key and arg two as scope
|
MessageContext |
getSynCtx() |
public static final String NULL_STRING
public GetPropertyFunction(MessageContext synCtx)
public MessageContext getSynCtx()
public Object call(org.jaxen.Context context, List args) throws org.jaxen.FunctionCallException
call in interface org.jaxen.Functioncontext - the context at the point in the expression when the function is calledargs - arguments of the functionsorg.jaxen.FunctionCallExceptionpublic Object evaluate(Object scopeObject, Object keyObject, Object dateformat, org.jaxen.Navigator navigator)
scopeObject - scope will decide from where property will be picked up from
i.e. axis2, transport, default/synapsekeyObject - the key of the propertynavigator - object model which can be used for navigation arounddateformat - The dateformat that need to convertCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.