org.ow2.easywsdl.extensions.sawsdl.impl.inout
Class SAWSDLWriterImpl

java.lang.Object
  extended by org.ow2.easywsdl.extensions.sawsdl.impl.inout.SAWSDLWriterImpl
All Implemented Interfaces:
SAWSDLWriter

public class SAWSDLWriterImpl
extends java.lang.Object
implements SAWSDLWriter

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
SAWSDLWriterImpl()
           
 
Method Summary
 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 writeSAWSDL(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

SAWSDLWriterImpl

public SAWSDLWriterImpl()
                 throws SAWSDLException
Throws:
SAWSDLException
Method Detail

getDocument

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

Specified by:
getDocument in interface SAWSDLWriter
Throws:
SAWSDLException

getFeature

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

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

setFeature

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

writeSAWSDL

public java.lang.String writeSAWSDL(Description wsdlDef)
                             throws SAWSDLException
Description copied from interface: SAWSDLWriter
Write the specified WSDL definition .

Specified by:
writeSAWSDL in interface SAWSDLWriter
Parameters:
wsdlDef - the WSDL definition to be written.
Throws:
SAWSDLException


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