Constructor and Description |
---|
ValueFactory() |
Modifier and Type | Method and Description |
---|---|
SynapseXPath |
createSynXpath(org.apache.axiom.om.OMElement elem,
String key)
Create synapse xpath expression
{} type user input is used to create real xpath expression
|
Value |
createValue(String name,
org.apache.axiom.om.OMElement elem)
Create a key instance
|
boolean |
isDynamicKey(String keyValue)
Validate the given key to identify whether it is static or dynamic key
If the key is in the {} format then it is dynamic key(XPath)
Otherwise just a static key
|
public Value createValue(String name, org.apache.axiom.om.OMElement elem)
elem
- OMElementpublic boolean isDynamicKey(String keyValue)
keyValue
- string to validate as a keypublic SynapseXPath createSynXpath(org.apache.axiom.om.OMElement elem, String key)
elem
- the elementkey
- xpath expression with {}Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.