org.apache.axis2.format
Interface MessageFormatterEx

All Superinterfaces:
org.apache.axis2.transport.MessageFormatter
All Known Implementing Classes:
BinaryFormatter, MessageFormatterExAdapter, PlainTextFormatter

public interface MessageFormatterEx
extends org.apache.axis2.transport.MessageFormatter

Message formatter with extended capabilities. This interface adds new methods to the MessageFormatter interface, allowing transport to optimize data transfers.


Method Summary
 javax.activation.DataSource getDataSource(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
          Get the formatted message as a DataSource object.
 
Methods inherited from interface org.apache.axis2.transport.MessageFormatter
formatSOAPAction, getBytes, getContentType, getTargetAddress, writeTo
 

Method Detail

getDataSource

javax.activation.DataSource getDataSource(org.apache.axis2.context.MessageContext messageContext,
                                          org.apache.axiom.om.OMOutputFormat format,
                                          java.lang.String soapAction)
                                          throws org.apache.axis2.AxisFault
Get the formatted message as a DataSource object.

Parameters:
messageContext -
format -
soapAction -
Returns:
Throws:
org.apache.axis2.AxisFault


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.