com.ebmwebsourcing.wsstar.addressing.definition.api
Interface WSAddressingWriter

All Known Implementing Classes:
WSAddressingWriterImpl

public interface WSAddressingWriter

This interface describes a collection of methods that allow a SchemaImpl model to be written to a writer in an XML format that follows the SchemaImpl parent.

Author:
Nicolas Salatge - eBM WebSourcing

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
 

Method Detail

setFeature

void setFeature(java.lang.String name,
                boolean value)
                throws java.lang.IllegalArgumentException
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

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:
getFeature(String)

getFeature

boolean getFeature(java.lang.String name)
                   throws java.lang.IllegalArgumentException
Gets the value of the specified feature.

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:
setFeature(String, boolean)

getDocument

org.w3c.dom.Document getDocument(EndpointReferenceType def)
                                 throws WSAddressingException
Return a document generated from the specified SchemaImpl model.

Throws:
WSAddressingException

writeEndpointReferenceType

java.lang.String writeEndpointReferenceType(EndpointReferenceType def)
                                            throws WSAddressingException
Write the specified SchemaImpl definition .

Parameters:
wsdlDef - the SchemaImpl definition to be written.
Throws:
WSAddressingException

writeEndpointReferenceType

void writeEndpointReferenceType(EndpointReferenceType edpRef,
                                java.io.File file)
                                throws WSAddressingException
Write a given EndpointReferenceType instance to a file on the file system

Parameters:
edpRef - the EndpointReferenceType java object to write on the file system
filename - the file (as File Java object) which the EndpointReferenceType instance must be written to
Throws:
WSAddressingException


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