Class JaxbWsdlMarshalling

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

    
    public class JaxbWsdlMarshalling
    extends AbstractIdleService implements WsdlMarshalling
                        

    Creates XML input and output streams from WSDL TDefinitions 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(TDefinitions wsdlDefinition, OutputStream outputStream) Takes a WSDL definition and marshals it.
      TDefinitions unmarshal(InputStream inputStream) Takes an input stream and unmarshals it to a WSDL definition.
      • 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(TDefinitions wsdlDefinition, OutputStream outputStream)

        Takes a WSDL definition and marshals it.

        Parameters:
        wsdlDefinition - the WSDL to marshal.
        outputStream - the destination of the marshalled data.
      • unmarshal

         TDefinitions unmarshal(InputStream inputStream)

        Takes an input stream and unmarshals it to a WSDL definition.

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

        the unmarshalled WSDL definition.