Class SynapseMessageConverter

java.lang.Object
org.apache.synapse.commons.builders.SynapseMessageConverter
All Implemented Interfaces:
MessageConverter

public abstract class SynapseMessageConverter extends Object implements MessageConverter
  • Constructor Details

    • SynapseMessageConverter

      public SynapseMessageConverter()
  • Method Details

    • convert

      public void convert(org.apache.axiom.om.OMElement element, OutputStream outputStream, String fromMediaType, String toMediaType)
      Description copied from interface: MessageConverter
      Message formatter action.
      Specified by:
      convert in interface MessageConverter
      Parameters:
      element -
      outputStream -
      fromMediaType -
      toMediaType -
    • convert

      public void convert(org.apache.axis2.context.MessageContext messageContext, OutputStream outputStream, String fromMediaType, String toMediaType)
      Specified by:
      convert in interface MessageConverter
      Parameters:
      messageContext -
      outputStream -
      fromMediaType -
      toMediaType -
    • convert

      public StringBuilder convert(org.apache.axiom.om.OMElement element, String fromMediaType, String toMediaType)
      Description copied from interface: MessageConverter
      Message formatter action.
      Specified by:
      convert in interface MessageConverter
      Parameters:
      element -
      fromMediaType -
      toMediaType -
      Returns:
    • convert

      public StringBuilder convert(org.apache.axis2.context.MessageContext messageContext, String fromMediaType, String toMediaType)
      Description copied from interface: MessageConverter
      Message formatter action.
      Specified by:
      convert in interface MessageConverter
      Parameters:
      messageContext -
      fromMediaType -
      toMediaType -
      Returns: