org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractSchemaReader

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaReader
All Implemented Interfaces:
SchemaReader
Direct Known Subclasses:
SchemaReaderImpl

public abstract class AbstractSchemaReader
extends java.lang.Object
implements SchemaReader

This interface describes an XSD reader to be used internally.

Author:
Christophe DENEUX - Capgemini Sud

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.easywsdl.schema.api.SchemaReader
SchemaReader.FeatureConstants
 
Constructor Summary
AbstractSchemaReader()
           
 
Method Summary
protected abstract  java.util.Map<java.net.URI,AbsItfSchema> getImportList()
           
protected abstract  Schema readExternalPart(java.net.URI schemaURI, java.net.URI baseURI, java.util.Map<java.net.URI,AbsItfSchema> imports, boolean deleteImports)
          Read an external XML Schema URI according to a base URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaReader
getDocumentBaseURI, getFeature, getFeatures, read, read, read, setDocumentBaseURI, setFeature, setFeatures
 

Constructor Detail

AbstractSchemaReader

public AbstractSchemaReader()
Method Detail

readExternalPart

protected abstract Schema readExternalPart(java.net.URI schemaURI,
                                           java.net.URI baseURI,
                                           java.util.Map<java.net.URI,AbsItfSchema> imports,
                                           boolean deleteImports)
                                    throws SchemaException,
                                           java.net.MalformedURLException,
                                           java.net.URISyntaxException
Read an external XML Schema URI according to a base URI.

Throws:
SchemaException
java.net.MalformedURLException - The URL based on the external XSD URI and the current base URI is a malformed URL.
java.net.URISyntaxException - The URL based on the external XSD URI and the current base URI is an URL not formatted strictly according to to RFC2396 and cannot be converted to a URI.

getImportList

protected abstract java.util.Map<java.net.URI,AbsItfSchema> getImportList()


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.