javax.wsdl.xml
Interface WSDLWriter
- WSDLWriterImpl
public interface WSDLWriter
This interface describes a collection of methods
that allow a WSDL model to be written to a writer
in an XML format that follows the WSDL schema.
Document | getDocument(Definition wsdlDef) - Return a document generated from the specified WSDL model.
|
boolean | getFeature(String name) - Gets the value of the specified feature.
|
void | setFeature(String name, boolean value) - Sets the specified feature to the specified value.
|
void | writeWSDL(Definition wsdlDef, OutputStream sink) - Write the specified WSDL definition to the specified OutputStream.
|
void | writeWSDL(Definition wsdlDef, Writer sink) - Write the specified WSDL definition to the specified Writer.
|
getDocument
public Document getDocument(Definition wsdlDef)
throws WSDLException
Return a document generated from the specified WSDL model.
getFeature
public boolean getFeature(String name)
throws IllegalArgumentException
Gets the value of the specified feature.
name
- the name of the feature to get the value of.
- the value of the feature.
setFeature
public void setFeature(String name,
boolean value)
throws IllegalArgumentException
Sets the specified feature to the specified value.
There are no minimum features that must be supported.
All feature names must be fully-qualified, Java package style. All
names starting with javax.wsdl. are reserved for features defined
by the JWSDL specification. It is recommended that implementation-
specific features be fully-qualified to match the package name
of that implementation. For example: com.abc.featureName
name
- the name of the feature to be set.value
- the value to set the feature to.
writeWSDL
public void writeWSDL(Definition wsdlDef,
OutputStream sink)
throws WSDLException
Write the specified WSDL definition to the specified OutputStream.
wsdlDef
- the WSDL definition to be written.sink
- the OutputStream to write the xml to.
writeWSDL
public void writeWSDL(Definition wsdlDef,
Writer sink)
throws WSDLException
Write the specified WSDL definition to the specified Writer.
wsdlDef
- the WSDL definition to be written.sink
- the Writer to write the xml to.
Copyright B) 2003,2006 IBM. All Rights Reserved.