public class Value extends Object
Constructor and Description |
---|
Value(String staticKey)
Create a key instance using a static key
|
Value(SynapseXPath expression)
Create a key instance using a dynamic key (Xpath Expression)
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluateObjectValue(MessageContext synCtx) |
String |
evaluateValue(MessageContext synCtx)
Evaluating key based on message context
used when key is a xpath expression
|
Object |
evalutePropertyExpression(MessageContext synCtx) |
SynapseXPath |
getExpression()
Retrieving dynamic key
|
String |
getKeyValue()
Retrieving static key
|
String |
getName()
Get the name of the value attribute
|
boolean |
hasExprTypeKey()
checks whether key returned by #getKeyValue() is a string of an expression type.
|
boolean |
hasPropertyEvaluateExpr() |
void |
setNamespaces(org.apache.axiom.om.OMElement elem) |
String |
toString() |
public Value(String staticKey)
staticKey
- static keypublic Value(SynapseXPath expression)
expression
- SynapseXpath for dynamic keypublic String getKeyValue()
public SynapseXPath getExpression()
public String evaluateValue(MessageContext synCtx)
synCtx
- message contextpublic Object evaluateObjectValue(MessageContext synCtx)
public String getName()
public boolean hasExprTypeKey()
public boolean hasPropertyEvaluateExpr()
public Object evalutePropertyExpression(MessageContext synCtx)
public void setNamespaces(org.apache.axiom.om.OMElement elem)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.