Class DataSourceFormatter

java.lang.Object
org.apache.axis2.jaxws.utility.DataSourceFormatter
All Implemented Interfaces:
org.apache.axis2.kernel.MessageFormatter

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    formatSOAPAction(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
     
    getContentType(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
     
    getTargetAddress(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL)
     
    void
    writeTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.axis2.kernel.MessageFormatter

    getDataSource
  • Constructor Details

    • DataSourceFormatter

      public DataSourceFormatter(String contentType)
  • Method Details

    • 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