Package 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 byBuilder
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 aReader
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
TextMessage
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OMElement
processDocument(Reader reader, String contentType, MessageContext messageContext)
OMElement
processDocument(String content, String contentType, MessageContext messageContext)
-
Methods inherited from interface org.apache.axis2.builder.Builder
processDocument
-
-