com.ebmwebsourcing.wsstar.addressing.datatypes.impl.impl
Class WsaReaderImpl

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.addressing.datatypes.impl.impl.WsaReaderImpl
All Implemented Interfaces:
com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader

public class WsaReaderImpl
extends java.lang.Object
implements com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader

This class provides a collection of methods that enable conversion of a Document object into a "WS-Addressing java type" object. This conversion uses JAXB "unmarshalling" mechanism

Author:
Thierry DEJEAN - eBM WebSourcing

Constructor Summary
protected WsaReaderImpl()
          Default constructor
protected WsaReaderImpl(java.lang.String[] nsAndPrefixForMarshalling)
           
 
Method Summary
 com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document doc)
          Read the specified EndpointReferenceType XML definition from Document object into a WS-Addressing JAXB model EndpointReferenceType instance.
 com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(java.io.File file)
          Read a EndpointReferanceType XML definition from a File object into a WS-Addressing JAXB model EndpointReferenceType instance.
 com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(org.xml.sax.InputSource inputSource)
          Read a EndpointReferenceType XML definition from an InputSource object into a WS-Addressing JAXB model EndpointReferenceType instance.
 com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(java.net.URI uri)
          Read the SchemaImpl document accessible via the specified URI into a SchemaImpl definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsaReaderImpl

protected WsaReaderImpl()
Default constructor


WsaReaderImpl

protected WsaReaderImpl(java.lang.String[] nsAndPrefixForMarshalling)
Method Detail

readEndpointReferenceType

public final com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document doc)
                                                                                                                     throws com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException
Read the specified EndpointReferenceType XML definition from Document object into a WS-Addressing JAXB model EndpointReferenceType instance.

Specified by:
readEndpointReferenceType in interface com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader
Parameters:
doc -
Returns:
the definition described in the document.
Throws:
com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException

readEndpointReferenceType

public final com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(org.xml.sax.InputSource inputSource)
                                                                                                                     throws com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException
Read a EndpointReferenceType XML definition from an InputSource object into a WS-Addressing JAXB model EndpointReferenceType instance.

Specified by:
readEndpointReferenceType in interface com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader
Parameters:
inputSource - an InputSource pointing to the SchemaImpl document, an XML document obeying the SchemaImpl parent.
Returns:
the definition described in the document pointed to by the InputSource.
Throws:
com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException

readEndpointReferenceType

public final com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(java.net.URI uri)
                                                                                                                     throws com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException
Read the SchemaImpl document accessible via the specified URI into a SchemaImpl definition.

Specified by:
readEndpointReferenceType in interface com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader
Parameters:
schemaURI - a URI (can be a filename or URL) pointing to a SchemaImpl XML definition.
Returns:
the definition.
Throws:
com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException

readEndpointReferenceType

public final com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType readEndpointReferenceType(java.io.File file)
                                                                                                                     throws com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException
Read a EndpointReferanceType XML definition from a File object into a WS-Addressing JAXB model EndpointReferenceType instance. (used by persistence feature)

Specified by:
readEndpointReferenceType in interface com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.WsaReader
Parameters:
file - the File object which the EndpointReferenceType object must be read from
Returns:
a EndpointReferenceType Java object instance
Throws:
com.ebmwebsourcing.wsstar.addressing.datatypes.api.utils.WsaException


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