Class JaxbSoapMarshalling

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service , org.somda.sdc.dpws.soap.SoapMarshalling

    
    public class JaxbSoapMarshalling
    extends AbstractIdleService implements SoapMarshalling
                        

    Creates XML input and output streams from Envelope instances by using JAXB.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void marshal(Envelope envelope, OutputStream outputStream) Takes a SOAP envelope and marshals it.
      Envelope unmarshal(InputStream inputStream) Takes an input stream and unmarshals it.
      Envelope unmarshal(Reader reader) Takes a reader and unmarshals it.
      • Methods inherited from class com.google.common.util.concurrent.AbstractIdleService

        addListener, awaitRunning, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • marshal

         void marshal(Envelope envelope, OutputStream outputStream)

        Takes a SOAP envelope and marshals it.

        Parameters:
        envelope - the source envelope to marshal.
        outputStream - the destination of the marshalled data.
      • unmarshal

         Envelope unmarshal(InputStream inputStream)

        Takes an input stream and unmarshals it.

        Parameters:
        inputStream - the input stream to unmarshal.
        Returns:

        the unmarshalled SOAP envelope.

      • unmarshal

         Envelope unmarshal(Reader reader)

        Takes a reader and unmarshals it.

        Parameters:
        reader - the input stream to unmarshal.
        Returns:

        the unmarshalled SOAP envelope.