com.ebmwebsourcing.wsstar.addressing.definition.impl
Class WSAddressingWriterImpl

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.addressing.definition.impl.WSAddressingJAXBContext
      extended by com.ebmwebsourcing.wsstar.addressing.definition.impl.WSAddressingWriterImpl
All Implemented Interfaces:
WSAddressingWriter

public class WSAddressingWriterImpl
extends WSAddressingJAXBContext
implements WSAddressingWriter

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
WSAddressingWriterImpl()
           
WSAddressingWriterImpl(java.util.List<java.lang.Class> addedObjectFactories)
           
 
Method Summary
 org.w3c.dom.Document getDocument(EndpointReferenceType 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 writeEndpointReferenceType(EndpointReferenceType def)
          Write the specified SchemaImpl definition .
 void writeEndpointReferenceType(EndpointReferenceType edpRef, java.io.File file)
          Write a given EndpointReferenceType instance to a file on the file system
 
Methods inherited from class com.ebmwebsourcing.wsstar.addressing.definition.impl.WSAddressingJAXBContext
createContextWithOtherObjectFactories, createDefaultContext, getJaxbContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAddressingWriterImpl

public WSAddressingWriterImpl()
                       throws WSAddressingException
Throws:
WSAddressingException

WSAddressingWriterImpl

public WSAddressingWriterImpl(java.util.List<java.lang.Class> addedObjectFactories)
                       throws WSAddressingException
Throws:
WSAddressingException
Method Detail

getDocument

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

Specified by:
getDocument in interface WSAddressingWriter
Throws:
WSAddressingException

getFeature

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

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

setFeature

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

writeEndpointReferenceType

public java.lang.String writeEndpointReferenceType(EndpointReferenceType def)
                                            throws WSAddressingException
Description copied from interface: WSAddressingWriter
Write the specified SchemaImpl definition .

Specified by:
writeEndpointReferenceType in interface WSAddressingWriter
Throws:
WSAddressingException

writeEndpointReferenceType

public void writeEndpointReferenceType(EndpointReferenceType edpRef,
                                       java.io.File file)
                                throws WSAddressingException
Description copied from interface: WSAddressingWriter
Write a given EndpointReferenceType instance to a file on the file system

Specified by:
writeEndpointReferenceType in interface WSAddressingWriter
Parameters:
edpRef - the EndpointReferenceType java object to write on the file system
Throws:
WSAddressingException


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.