com.ebmwebsourcing.wsstar.qml.impl
Class WSQMLWriterImpl

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.qml.impl.WSQMLJAXBContext
      extended by com.ebmwebsourcing.wsstar.qml.impl.WSQMLWriterImpl
All Implemented Interfaces:
WSQMLWriter

public class WSQMLWriterImpl
extends WSQMLJAXBContext
implements WSQMLWriter

Author:
Nicolas Salatge - eBM WebSourcing, Le Duc Bao - France Telecom

Constructor Summary
WSQMLWriterImpl()
           
 
Method Summary
 org.w3c.dom.Document getDocument(Constraint def)
          Return a document generated from the specified SchemaImpl model.
 org.w3c.dom.Document getDocument(QOSDimension def)
          Return a document generated from the specified SchemaImpl model.
 boolean getFeature(java.lang.String name)
          Gets the value of the specified feature.
static javax.xml.bind.Marshaller getMarshaller()
          Get the marshaller instance.
 void setFeature(java.lang.String name, boolean value)
          Sets the specified feature to the specified value.
 java.lang.String writeConstraint(Constraint def)
          Write the specified SchemaImpl definition .
 java.lang.String writeQOSDimension(QOSDimension def)
          Write the specified SchemaImpl definition .
 
Methods inherited from class com.ebmwebsourcing.wsstar.qml.impl.WSQMLJAXBContext
createContext, getJaxbContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSQMLWriterImpl

public WSQMLWriterImpl()
Method Detail

getMarshaller

public static javax.xml.bind.Marshaller getMarshaller()
                                               throws WSQMLException
Get the marshaller instance.

Returns:
the marshaller instance
Throws:
org.ow2.easywsdl.schema.api.SchemaException - The exception raised during the marshaller creation.
WSQMLException

getDocument

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

Specified by:
getDocument in interface WSQMLWriter
Throws:
WSQMLException

getFeature

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

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

setFeature

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

writeQOSDimension

public java.lang.String writeQOSDimension(QOSDimension def)
                                   throws WSQMLException
Description copied from interface: WSQMLWriter
Write the specified SchemaImpl definition .

Specified by:
writeQOSDimension in interface WSQMLWriter
Throws:
WSQMLException

getDocument

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

Specified by:
getDocument in interface WSQMLWriter
Throws:
WSQMLException

writeConstraint

public java.lang.String writeConstraint(Constraint def)
                                 throws WSQMLException
Description copied from interface: WSQMLWriter
Write the specified SchemaImpl definition .

Specified by:
writeConstraint in interface WSQMLWriter
Throws:
WSQMLException


Copyright © 2009 eBM Websourcing. All Rights Reserved.