Home » synapse-1.2-src » org.apache.synapse.format » [javadoc | source]
org.apache.synapse.format
public class: PlainTextBuilder [javadoc | source]
java.lang.Object
   org.apache.synapse.format.PlainTextBuilder

All Implemented Interfaces:
    org.apache.axis2.builder.Builder

Message builder for plain text payloads.

This builder processes the input message as plain text and wraps the text in a wrapper element. The name of the wrapper element can be configured as a service parameter (see BaseConstants#WRAPPER_PARAM ). It defaults to BaseConstants#DEFAULT_TEXT_WRAPPER . If the provided content type specifies a charset parameter (e.g. text/plain; charset=ISO-8859-15) it is used to decode the text. Otherwise the default charset encoding specified by MessageContext#DEFAULT_CHAR_SET_ENCODING is used.
Method from org.apache.synapse.format.PlainTextBuilder Summary:
processDocument
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.format.PlainTextBuilder Detail:
 public OMElement processDocument(InputStream inputStream,
    String contentType,
    MessageContext msgContext) throws AxisFault