org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout
Class WSDL4ComplexWsdlWriterImpl

java.lang.Object
  extended by org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlWriterImpl
All Implemented Interfaces:
WSDL4ComplexWsdlWriter

public class WSDL4ComplexWsdlWriterImpl
extends java.lang.Object
implements WSDL4ComplexWsdlWriter

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
WSDL4ComplexWsdlWriterImpl()
           
 
Method Summary
 org.w3c.dom.Element convertImportedDocuments2Element(ImportedDocuments imptDocs)
           
 org.w3c.dom.Document getDocument(Description wsdlDef)
          Return a document generated from the specified WSDL tag.
 boolean getFeature(java.lang.String name)
          Gets the value of the specified feature.
 void setFeature(java.lang.String name, boolean value)
          Sets the specified feature to the specified value.
 java.lang.String writeWSDL4ComplexWsdl(Description wsdlDef)
          Write the specified WSDL definition .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL4ComplexWsdlWriterImpl

public WSDL4ComplexWsdlWriterImpl()
                           throws WSDL4ComplexWsdlException
Throws:
WSDL4ComplexWsdlException
Method Detail

getDocument

public org.w3c.dom.Document getDocument(Description wsdlDef)
                                 throws WSDL4ComplexWsdlException
Description copied from interface: WSDL4ComplexWsdlWriter
Return a document generated from the specified WSDL tag.

Specified by:
getDocument in interface WSDL4ComplexWsdlWriter
Throws:
WSDL4ComplexWsdlException

getFeature

public boolean getFeature(java.lang.String name)
                   throws java.lang.IllegalArgumentException
Description copied from interface: WSDL4ComplexWsdlWriter
Gets the value of the specified feature.

Specified by:
getFeature in interface WSDL4ComplexWsdlWriter
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:
WSDL4ComplexWsdlWriter.setFeature(String, boolean)

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
                throws java.lang.IllegalArgumentException
Description copied from interface: WSDL4ComplexWsdlWriter
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

Specified by:
setFeature in interface WSDL4ComplexWsdlWriter
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:
WSDL4ComplexWsdlWriter.getFeature(String)

writeWSDL4ComplexWsdl

public java.lang.String writeWSDL4ComplexWsdl(Description wsdlDef)
                                       throws WSDL4ComplexWsdlException
Description copied from interface: WSDL4ComplexWsdlWriter
Write the specified WSDL definition .

Specified by:
writeWSDL4ComplexWsdl in interface WSDL4ComplexWsdlWriter
Parameters:
wsdlDef - the WSDL definition to be written.
Throws:
WSDL4ComplexWsdlException

convertImportedDocuments2Element

public org.w3c.dom.Element convertImportedDocuments2Element(ImportedDocuments imptDocs)
                                                     throws org.ow2.easywsdl.wsdl.api.WSDLException
Throws:
org.ow2.easywsdl.wsdl.api.WSDLException


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.