public class Output extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ADD_CHILD |
static String |
ACTION_ADD_SIBLING |
static String |
ACTION_REPLACE |
static String |
AXIOMPAYLOADNS |
static QName |
TEXTELT |
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
String |
byteArrayIStoString(ByteArrayInputStream is) |
String |
getAction() |
org.apache.synapse.util.xpath.SynapseXPath |
getExpression() |
static org.apache.axiom.soap.SOAPEnvelope |
getNewSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
New SOAPEnvelope is created with namespace & header elements of envelope
|
String |
getProperty() |
SmooksMediator.TYPES |
getType() |
void |
process(ByteArrayOutputStream outputStream,
org.apache.synapse.MessageContext synCtx,
org.apache.synapse.SynapseLog synLog,
org.milyn.payload.JavaResult result) |
void |
setAction(String action) |
void |
setExpression(org.apache.synapse.util.xpath.SynapseXPath expression) |
void |
setProperty(String property) |
static void |
setTextPayload(org.apache.synapse.MessageContext synCtx,
String text) |
void |
setType(SmooksMediator.TYPES type) |
static void |
setXMLPayload(org.apache.synapse.MessageContext synCtx,
org.apache.axiom.om.OMElement element) |
public static final String ACTION_REPLACE
public static final String ACTION_ADD_CHILD
public static final String ACTION_ADD_SIBLING
public static final String AXIOMPAYLOADNS
public static final QName TEXTELT
public void process(ByteArrayOutputStream outputStream, org.apache.synapse.MessageContext synCtx, org.apache.synapse.SynapseLog synLog, org.milyn.payload.JavaResult result) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public String byteArrayIStoString(ByteArrayInputStream is)
public SmooksMediator.TYPES getType()
public org.apache.synapse.util.xpath.SynapseXPath getExpression()
public String getProperty()
public String getAction()
public void setType(SmooksMediator.TYPES type)
public void setExpression(org.apache.synapse.util.xpath.SynapseXPath expression)
public void setProperty(String property)
public void setAction(String action)
public static void setXMLPayload(org.apache.synapse.MessageContext synCtx, org.apache.axiom.om.OMElement element) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static void setTextPayload(org.apache.synapse.MessageContext synCtx, String text) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.apache.axiom.soap.SOAPEnvelope getNewSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
envelope
- Envelope from MessageContextCopyright © 2020 WSO2. All rights reserved.