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


public interface WsaReader

Interface of the Reader that must provide methods to "unmarshall" WS-Addressing types from common representation formats : Document,File,.... These methods can be seen as "input methods"

Author:
Thierry Déjean - EBM Websourcing

Method Summary
 EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document document)
          Unmarshall a EndpointReferenceType object from its Document representation.
 EndpointReferenceType readEndpointReferenceType(java.io.File file)
          Unmarshall a EndpointReferenceType object from its File representation.
 EndpointReferenceType readEndpointReferenceType(org.xml.sax.InputSource source)
          Unmarshall a EndpointReferenceType object from its InputSource representation.
 EndpointReferenceType readEndpointReferenceType(java.net.URI uri)
          Unmarshall a EndpointReferenceType object from a reprensetation located at a specific URI
 

Method Detail

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document document)
                                                throws WsaException
Unmarshall a EndpointReferenceType object from its Document representation.

Parameters:
document - the Document representation of the endpoint
Returns:
the unmarshalled endpoint associated to the given Document representation
Throws:
WsaException

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(org.xml.sax.InputSource source)
                                                throws WsaException
Unmarshall a EndpointReferenceType object from its InputSource representation.

Parameters:
source - the InputSource representation of the endpoint
Returns:
the unmarshalled endpoint associated to the given InputSource representation
Throws:
WsaException

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(java.io.File file)
                                                throws WsaException
Unmarshall a EndpointReferenceType object from its File representation. Note : method that can be used to implement persistence mechanism

Parameters:
file - the File representation of the endpoint
Returns:
unmarshalled endpoint associated to the given File representation
Throws:
WsaException

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(java.net.URI uri)
                                                throws WsaException
Unmarshall a EndpointReferenceType object from a reprensetation located at a specific URI

Parameters:
uri - the location, provided as an URI, of the endpoint representation
Returns:
unmarshalled endpoint associated the representation located at the given URI
Throws:
WsaException


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