org.apache.axis2.format
Class PlainTextFormatter
java.lang.Object
org.apache.axis2.format.PlainTextFormatter
- All Implemented Interfaces:
- MessageFormatterEx, MessageFormatter
public class PlainTextFormatter
- extends java.lang.Object
- implements MessageFormatterEx
|
Method Summary |
java.lang.String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
byte[] |
getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
java.lang.String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
javax.activation.DataSource |
getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Get the formatted message as a DataSource object. |
java.net.URL |
getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
|
void |
writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTextFormatter
public PlainTextFormatter()
getBytes
public byte[] getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
throws AxisFault
- Specified by:
getBytes in interface MessageFormatter
- Throws:
AxisFault
writeTo
public void writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
throws AxisFault
- Specified by:
writeTo in interface MessageFormatter
- Throws:
AxisFault
getContentType
public java.lang.String getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
- Specified by:
getContentType in interface MessageFormatter
getTargetAddress
public java.net.URL getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
throws AxisFault
- Specified by:
getTargetAddress in interface MessageFormatter
- Throws:
AxisFault
formatSOAPAction
public java.lang.String formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
- Specified by:
formatSOAPAction in interface MessageFormatter
getDataSource
public javax.activation.DataSource getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
throws AxisFault
- Description copied from interface:
MessageFormatterEx
- Get the formatted message as a
DataSource object.
- Specified by:
getDataSource in interface MessageFormatterEx
- Returns:
-
- Throws:
AxisFault
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.