Package org.somda.sdc.dpws.wsdl
Interface WsdlMarshalling
-
- All Superinterfaces:
com.google.common.util.concurrent.Service
- All Known Implementing Classes:
JaxbWsdlMarshalling
public interface WsdlMarshalling extends com.google.common.util.concurrent.ServiceJAXB WSDL marshalling service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmarshal(TDefinitions wsdlDefinitions, OutputStream outputStream)Marshals a WSDL document.TDefinitionsunmarshal(InputStream inputStream)Unmarshals a WSDL document.
-
-
-
Method Detail
-
marshal
void marshal(TDefinitions wsdlDefinitions, OutputStream outputStream) throws javax.xml.bind.JAXBException
Marshals a WSDL document.- Parameters:
wsdlDefinitions- the WSDL definition to marshal.outputStream- the output stream where to write marshalled data to.- Throws:
javax.xml.bind.JAXBException- if marshalling to output stream failed
-
unmarshal
TDefinitions unmarshal(InputStream inputStream) throws javax.xml.bind.JAXBException, ClassCastException
Unmarshals a WSDL document.- Parameters:
inputStream- the input WSDL definition to unmarshal.- Returns:
- the unmarshalled WSDL definition.
- Throws:
javax.xml.bind.JAXBException- if unmarshalling fails.ClassCastException- if the cast toTDefinitionsfails.
-
-