| com.sun.jbi.wsdl2.WsdlWriter
All known Subclasses: com.sun.jbi.wsdl2.impl.WsdlWriter,
WsdlWriter | public interface WsdlWriter (Code) | | This interface describes a collection of methods that allow a WSDL 2.0
Description component to be written to a writer in an XML format that
follows the WSDL 2.0 schema.
Based on javax.wsdl.WSDLWriter, Matthew J. Duftler, IBM.
author: Sun Microsystems, Inc. |
getDocument | Document getDocument(Description model) throws WsdlException(Code) | | Return a document generated from the specified WSDL model.
Parameters: model - The WSDL Description component to be written A DOM document that reflects the contents of the given model exception: WsdlException - if a WSDL 2.0 validity error is encountered. |
writeDescription | void writeDescription(Description model, Writer sink) throws WsdlException, IOException(Code) | | Write the specified WSDL Description to the specified Writer.
Parameters: model - The WSDL Description component to be written Parameters: sink - The Writer to write the xml to exception: WsdlException - if a WSDL 2.0 validity error is encountered. exception: IOException - if an I/O errors while writing to the givenwriter. |
writeDescription | void writeDescription(Description model, OutputStream sink) throws WsdlException, IOException(Code) | | Write the specified WSDL Description to the specified OutputStream.
Parameters: model - The WSDL Description component to be written Parameters: sink - The OutputStream to write the XML to exception: WsdlException - if a WSDL 2.0 validity error is encountered. exception: IOException - if an I/O errors while writing to the givenoutput stream. |
|
|