com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction
Interface WsaWriter


public interface WsaWriter

Interface of the Writer that must provide methods to "marshall" WS-Addressing types to common representation formats : Document,File,.... These methods can be seen as "output methods"

Author:
Thierry Déjean - EBM Websourcing

Method Summary
 org.w3c.dom.Document writeEndpointReferenceTypeAsDOM(EndpointReferenceType endpoint)
          marshall a EndpointReferenceType object to a Document representation object.
 java.lang.String writeEndpointReferenceTypeAsString(EndpointReferenceType endpoint)
          marshall a EndpointReferenceType object to a String representation object.
 void writeEndpointReferenceTypeToFilesystem(EndpointReferenceType endpoint, java.lang.String path)
          marshall a EndpointReferenceType object as a File representation and write it to File System
 

Method Detail

writeEndpointReferenceTypeAsDOM

org.w3c.dom.Document writeEndpointReferenceTypeAsDOM(EndpointReferenceType endpoint)
                                                     throws WsaException
marshall a EndpointReferenceType object to a Document representation object.

Parameters:
endpoint - the EndpointReferenceType object to marshall
Returns:
an Document representation object of the endpoint
Throws:
WsaException

writeEndpointReferenceTypeAsString

java.lang.String writeEndpointReferenceTypeAsString(EndpointReferenceType endpoint)
                                                    throws WsaException
marshall a EndpointReferenceType object to a String representation object.

Parameters:
endpoint - the EndpointReferenceType object to marshall
Returns:
an String representation object of the endpoint
Throws:
WsaException

writeEndpointReferenceTypeToFilesystem

void writeEndpointReferenceTypeToFilesystem(EndpointReferenceType endpoint,
                                            java.lang.String path)
                                            throws WsaException
marshall a EndpointReferenceType object as a File representation and write it to File System

Parameters:
endpoint - the EndpointReferenceType object to marshall
path - the path - location on the filesystem - where the endpoint must be written
Throws:
WsaException


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