org.apache.axis2.wsdl.writer
Interface WOMWriter

All Known Implementing Classes:
WOMtoWSDL11Writer, WOMtoWSDL20Writer

public interface WOMWriter


Method Summary
 void setdefaultWSDLPrefix(String defaultWSDLPrefix)
           
 void setEncoding(String encoding)
           
 void writeWOM(org.apache.wsdl.WSDLDescription wsdlDescription, OutputStream out)
          Writes a WSDLDescription directly.
 void writeWOM(WSDLVersionWrapper wsdlWrapper, OutputStream out)
          Writes a WOM to the given output stream.
 

Method Detail

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 class
out - 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)