org.apache.axis2.wsdl.writer
Interface WOMWriter
- All Known Implementing Classes:
- WOMtoWSDL11Writer, WOMtoWSDL20Writer
- public interface WOMWriter
writeWOM
public void writeWOM(WSDLVersionWrapper wsdlWrapper,
OutputStream out)
throws WriterException
- Writes a WOM to the given output stream.
- Parameters:
wsdlWrapper
- A wrapper for both the wsdl object models. Contains references to WOM and
the standard WSDL definition classout
- the output stream
- Throws:
WriterException
writeWOM
public void writeWOM(org.apache.wsdl.WSDLDescription wsdlDescription,
OutputStream out)
throws WriterException,
XMLStreamException
- Writes a WSDLDescription directly. The version wrapper may not be available in some instances
and the user may need to serialize the WSDL Description directly .
- Parameters:
wsdlDescription
- out
-
- Throws:
WriterException
XMLStreamException
setEncoding
public void setEncoding(String encoding)
setdefaultWSDLPrefix
public void setdefaultWSDLPrefix(String defaultWSDLPrefix)