public class Value extends Object
Constructor and Description |
---|
Value(String staticKey)
Create a key instance using a static key
|
Value(org.apache.synapse.util.xpath.SynapseXPath expression)
Create a key instance using a dynamic key (Xpath Expression)
|
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(org.apache.axiom.om.OMNamespace ns) |
org.apache.synapse.util.xpath.SynapseXPath |
getExpression()
Retrieving dynamic key
|
String |
getKeyValue()
Retrieving static key
|
boolean |
hasExprTypeKey()
checks whether key returned by #getKeyValue() is a string of an expression type.
|
void |
setNamespaces(org.apache.axiom.om.OMElement elem) |
String |
toString() |
public Value(String staticKey)
staticKey
- static keypublic Value(org.apache.synapse.util.xpath.SynapseXPath expression)
expression
- SynapseXpath for dynamic keypublic String getKeyValue()
public org.apache.synapse.util.xpath.SynapseXPath getExpression()
public boolean hasExprTypeKey()
public void setNamespaces(org.apache.axiom.om.OMElement elem)
public void addNamespace(org.apache.axiom.om.OMNamespace ns)
Copyright © 2021 WSO2. All rights reserved.