|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.config.xml.ValueFactory
public class ValueFactory
Factory for Value
instances.
Constructor Summary | |
---|---|
ValueFactory()
|
Method Summary | |
---|---|
SynapseXPath |
createSynXpath(OMElement elem,
String key)
Create synapse xpath expression {} type user input is used to create real xpath expression |
Value |
createValue(String name,
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueFactory()
Method Detail |
---|
public Value createValue(String name, OMElement elem)
elem
- OMElement
public boolean isDynamicKey(String keyValue)
keyValue
- string to validate as a key
public SynapseXPath createSynXpath(OMElement elem, String key)
elem
- the elementkey
- xpath expression with {}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |