|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.mediators.Value
public class Value
Represents a Value Handling both static and dynamic(Xpath) keys. User can give Xpath expression as a key and derive real key based on message context
Constructor Summary | |
---|---|
Value(String staticKey)
Create a key instance using a static key |
|
Value(SynapseXPath expression)
Create a key instance using a dynamic key (Xpath Expression) |
Method Summary | |
---|---|
String |
evaluateValue(MessageContext synCtx)
Evaluating key based on message context used when key is a xpath expression |
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. |
void |
setNamespaces(OMElement elem)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Value(String staticKey)
staticKey
- static keypublic Value(SynapseXPath expression)
expression
- SynapseXpath for dynamic keyMethod Detail |
---|
public String getKeyValue()
public SynapseXPath getExpression()
public String evaluateValue(MessageContext synCtx)
synCtx
- message context
public String getName()
public boolean hasExprTypeKey()
public void setNamespaces(OMElement elem)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |