org.apache.axis2.format
Interface TextMessageBuilder
- All Superinterfaces:
- Builder
- All Known Implementing Classes:
- PlainTextBuilder, TextMessageBuilderAdapter
public interface TextMessageBuilder
- extends Builder
Message builder able to build messages from a character stream.
This interface can be optionally implemented by Builder
implementations that support building a message from a character
stream.
The character stream can either be provided as a string or a
Reader object. The caller should use a Reader object
except if the content of the message is available as a string anyway.
This interface is currently used by the JMS transport to process
javax.jms.TextMessage instances.
processDocument
org.apache.axiom.om.OMElement processDocument(java.io.Reader reader,
java.lang.String contentType,
MessageContext messageContext)
throws AxisFault
- Throws:
AxisFault
processDocument
org.apache.axiom.om.OMElement processDocument(java.lang.String content,
java.lang.String contentType,
MessageContext messageContext)
throws AxisFault
- Throws:
AxisFault
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.