View Javadoc

    1   package org.codehaus.xfire.exchange;
    2
    3   import javax.xml.stream.XMLStreamWriter;
    4
    5   import org.codehaus.xfire.MessageContext;
    6   import org.codehaus.xfire.fault.XFireFault;
    7
    8   public interface MessageSerializer
    9   {
    10      void readMessage(InMessage message, MessageContext context)
    11          throws XFireFault;
    12
    13      void writeMessage(OutMessage message, XMLStreamWriter writer, MessageContext context)
    14          throws XFireFault;
    15  }