Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
easyWSDL - easyWSDL toolbox Platform. Copyright (c) 2008, eBM Websourcing All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the University of California, Berkeley nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 package org.ow2.easywsdl.wsdl.api;
 
 
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):
Nicolas Salatge - eBM WebSourcing
 
 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)
 
     void setFeature(String nameboolean valuethrows 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)
 
     boolean getFeature(String namethrows IllegalArgumentException;

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

    
Write the specified WSDL definition .

Parameters:
wsdlDef the WSDL definition to be written.
 
     String writeWSDL(Description wsdlDefthrows WSDLException;

    
Use normalized prefixes for namespace declaration. Add some custom prefixes if needed.

Parameters:
customPrefixes array containing custom prefixes and namespaces to use with the format : (prefix1,nsUri1,prefix2,nsUri2,...)
 
     public void useCustomNamespacesPrefixes(String[] customPrefixes)throws WSDLException ;

    
Use normalized prefixes for namespace declaration.
 
    public void useNormalizedNamespacesPrefixes() throws WSDLException;
    
//    WSDLVersionConstants getDefaultModel();
//
//    void setDefaultModel(WSDLVersionConstants version) throws WSDLException;
New to GrepCode? Check out our FAQ X