com.ebmwebsourcing.agreement.definition.impl
Class WSAgreementWriterImpl

java.lang.Object
  extended by com.ebmwebsourcing.agreement.definition.impl.WSAgreementJAXBContext
      extended by com.ebmwebsourcing.agreement.definition.impl.WSAgreementWriterImpl
All Implemented Interfaces:
WSAgreementWriter

public class WSAgreementWriterImpl
extends WSAgreementJAXBContext
implements WSAgreementWriter

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
WSAgreementWriterImpl()
           
 
Method Summary
 org.w3c.dom.Document getDocument(Agreement def)
          Return a document generated from the specified SchemaImpl model.
 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 writeAgreement(Agreement def)
          Write the specified SchemaImpl definition .
 
Methods inherited from class com.ebmwebsourcing.agreement.definition.impl.WSAgreementJAXBContext
getJaxbContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAgreementWriterImpl

public WSAgreementWriterImpl()
Method Detail

getDocument

public org.w3c.dom.Document getDocument(Agreement def)
                                 throws WSAgreementException
Description copied from interface: WSAgreementWriter
Return a document generated from the specified SchemaImpl model.

Specified by:
getDocument in interface WSAgreementWriter
Throws:
WSAgreementException

getFeature

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

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

setFeature

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

writeAgreement

public java.lang.String writeAgreement(Agreement def)
                                throws WSAgreementException
Description copied from interface: WSAgreementWriter
Write the specified SchemaImpl definition .

Specified by:
writeAgreement in interface WSAgreementWriter
Throws:
WSAgreementException


Copyright © 2009 eBM Websourcing. All Rights Reserved.