org.apache.synapse.mediators.elementary
Class Source
java.lang.Object
org.apache.synapse.mediators.elementary.Source
public class Source
- extends Object
The source of the XML node to be stored. The source can be a
1. Property
2. XPath Expression
3. SOAP Envelope
4. SOAP Body
If clone is true a clone will be create and stored from the original content. Otherwise a
reference will be stored.
In case of property a OMElement is stored in a property and it will be fetched.
In case of a XPath expression, it will be evaluated to get the OMElement
In case of SOAPEnvelope entire SOAP envelope will be stored
In case of Body, the first child of body will be stored
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Source
public Source()
evaluate
public ArrayList<OMNode> evaluate(MessageContext synCtx,
SynapseLog synLog)
throws JaxenException
- Throws:
JaxenException
getXpath
public SynapseXPath getXpath()
setXpath
public void setXpath(SynapseXPath xpath)
getSourceType
public int getSourceType()
setSourceType
public void setSourceType(int sourceType)
getProperty
public String getProperty()
setProperty
public void setProperty(String property)
isClone
public boolean isClone()
setClone
public void setClone(boolean clone)
setInlineOMNode
public void setInlineOMNode(OMNode inlineOMNode)
getInlineOMNode
public OMNode getInlineOMNode()
getInlineKey
public String getInlineKey()
setInlineKey
public void setInlineKey(String inlineKey)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.