public class PlainTextFormatter extends Object implements MessageFormatterEx
| Constructor and Description |
|---|
PlainTextFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
byte[] |
getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
javax.activation.DataSource |
getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Get the formatted message as a
DataSource object. |
URL |
getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
void |
writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
public byte[] getBytes(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) throws AxisFault
getBytes in interface MessageFormatterAxisFaultpublic void writeTo(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) throws AxisFault
writeTo in interface MessageFormatterAxisFaultpublic String getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
getContentType in interface MessageFormatterpublic URL getTargetAddress(MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, URL targetURL) throws AxisFault
getTargetAddress in interface MessageFormatterAxisFaultpublic String formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
formatSOAPAction in interface MessageFormatterpublic javax.activation.DataSource getDataSource(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction) throws AxisFault
MessageFormatterExDataSource object.getDataSource in interface MessageFormatterExAxisFaultCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.