Package org.somda.sdc.dpws.wsdl
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.
-
-
Method Summary
Modifier and Type Method Description voidmarshal(TDefinitions wsdlDefinition, OutputStream outputStream)Takes a WSDL definition and marshals it. TDefinitionsunmarshal(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
-
-
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.
-
-
-
-