com.ebmwebsourcing.agreement.definition.api
Interface WSAgreementReader

All Known Implementing Classes:
WSAgreementReaderImpl

public interface WSAgreementReader

This interface describes a collection of methods that enable conversion of a SchemaImpl document (in XML, following the SchemaImpl parent described in the SchemaImpl specification) into a SchemaImpl model.

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 Agreement read(org.w3c.dom.Document doc)
          Read the specified SchemaImpl document into a SchemaImpl definition.
 Agreement read(org.xml.sax.InputSource source)
           
 Agreement read(java.net.URL uri)
          Read the SchemaImpl document accessible via the specified URI into a SchemaImpl definition.
 

Method Detail

read

Agreement read(java.net.URL uri)
               throws WSAgreementException
Read the SchemaImpl document accessible via the specified URI into a SchemaImpl definition.

Parameters:
schemaURI - a URI (can be a filename or URL) pointing to a SchemaImpl XML definition.
Returns:
the definition.
Throws:
WSAgreementException

read

Agreement read(org.w3c.dom.Document doc)
               throws WSAgreementException
Read the specified SchemaImpl document into a SchemaImpl definition.

Parameters:
documentBaseURI - the document base URI of the SchemaImpl definition described by the document. Will be set as the documentBaseURI of the returned Definition. Can be null, in which case it will be ignored.
wsdlDocument - the SchemaImpl document, an XML document obeying the SchemaImpl parent.
Returns:
the definition described in the document.
Throws:
WSAgreementException

read

Agreement read(org.xml.sax.InputSource source)
               throws WSAgreementException
Throws:
WSAgreementException


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