All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.wsdl.xml.WSDLWriter Maven / Gradle / Ivy

Go to download

Open and Free WSDL library: Web Services Description Language. Libre-wsdl4j is a fork of WSDL4J 1.6.3. WSL4j is a Java stub generator for WSDL. Many software projects still depends on WSL4j, so the idea is that libre-wsdl4j should be an actively maintained version of this software on GitHub. "WSDL, that's an anchronym i haven't heard in almost ten years." Still big in the enterprise world" - comments on the Internet.

The newest version!
/*
 * (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 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 * * @param name the name of the feature to be set. * @param value the value to set the feature to. * @throws IllegalArgumentException if the feature name is not recognized. * @see #getFeature(String) */ void setFeature(String name, boolean value) throws IllegalArgumentException; /** * Gets the value of the specified feature. * * @param name the name of the feature to get the value of. * @return the value of the feature. * @throws IllegalArgumentException if the feature name is not recognized. * @see #setFeature(String, boolean) */ boolean getFeature(String name) throws IllegalArgumentException; /** * Return a document generated from the specified WSDL model. */ Document getDocument(Definition wsdlDef) throws WSDLException; /** * Write the specified WSDL definition to the specified Writer. * * @param wsdlDef the WSDL definition to be written. * @param sink the Writer to write the xml to. */ void writeWSDL(Definition wsdlDef, Writer sink) throws WSDLException; /** * Write the specified WSDL definition to the specified OutputStream. * * @param wsdlDef the WSDL definition to be written. * @param sink the OutputStream to write the xml to. */ void writeWSDL(Definition wsdlDef, OutputStream sink) throws WSDLException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy