Class DataSourceFormatter

  • All Implemented Interfaces:
    org.apache.axis2.kernel.MessageFormatter

    public class DataSourceFormatter
    extends Object
    implements org.apache.axis2.kernel.MessageFormatter
    • Constructor Detail

      • DataSourceFormatter

        public DataSourceFormatter​(String contentType)
    • Method Detail

      • writeTo

        public void writeTo​(org.apache.axis2.context.MessageContext messageContext,
                            org.apache.axiom.om.OMOutputFormat format,
                            OutputStream outputStream,
                            boolean preserve)
                     throws org.apache.axis2.AxisFault
        Specified by:
        writeTo in interface org.apache.axis2.kernel.MessageFormatter
        Throws:
        org.apache.axis2.AxisFault
      • getContentType

        public String getContentType​(org.apache.axis2.context.MessageContext messageContext,
                                     org.apache.axiom.om.OMOutputFormat format,
                                     String soapAction)
        Specified by:
        getContentType in interface org.apache.axis2.kernel.MessageFormatter
      • getTargetAddress

        public URL getTargetAddress​(org.apache.axis2.context.MessageContext messageContext,
                                    org.apache.axiom.om.OMOutputFormat format,
                                    URL targetURL)
                             throws org.apache.axis2.AxisFault
        Specified by:
        getTargetAddress in interface org.apache.axis2.kernel.MessageFormatter
        Throws:
        org.apache.axis2.AxisFault
      • formatSOAPAction

        public String formatSOAPAction​(org.apache.axis2.context.MessageContext messageContext,
                                       org.apache.axiom.om.OMOutputFormat format,
                                       String soapAction)
        Specified by:
        formatSOAPAction in interface org.apache.axis2.kernel.MessageFormatter