Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * (c) Copyright IBM Corp 2001, 2005 
  */
 
 package javax.wsdl.xml;
 
 import java.io.*;
 import org.w3c.dom.*;
 import javax.wsdl.*;

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.

Author(s):
Matthew J. Duftler
public interface WSDLWriter
{
  
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

Parameters:
name the name of the feature to be set.
value the value to set the feature to.
Throws:
java.lang.IllegalArgumentException if the feature name is not recognized.
See also:
getFeature(java.lang.String)
  public void setFeature(String nameboolean value)
    throws IllegalArgumentException;

  
Gets the value of the specified feature.

Parameters:
name the name of the feature to get the value of.
Returns:
the value of the feature.
Throws:
java.lang.IllegalArgumentException if the feature name is not recognized.
See also:
setFeature(java.lang.String,boolean)
  public boolean getFeature(String namethrows IllegalArgumentException;

  
Return a document generated from the specified WSDL model.
  public Document getDocument(Definition wsdlDefthrows WSDLException;

  
Write the specified WSDL definition to the specified Writer.

Parameters:
wsdlDef the WSDL definition to be written.
sink the Writer to write the xml to.
  public void writeWSDL(Definition wsdlDefWriter sink)
    throws WSDLException;

  
Write the specified WSDL definition to the specified OutputStream.

Parameters:
wsdlDef the WSDL definition to be written.
sink the OutputStream to write the xml to.
  public void writeWSDL(Definition wsdlDefOutputStream sink)
    throws WSDLException;
New to GrepCode? Check out our FAQ X