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

All Implemented Interfaces:

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:
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