com.thaiopensource.validate
Class AbstractSchemaReader

java.lang.Object
  extended by com.thaiopensource.validate.AbstractSchemaReader
All Implemented Interfaces:
SchemaReader
Direct Known Subclasses:
AutoSchemaReader, com.thaiopensource.validate.rng.impl.SchemaReaderImpl

public abstract class AbstractSchemaReader
extends Object
implements SchemaReader


Field Summary
 
Fields inherited from interface com.thaiopensource.validate.SchemaReader
BASE_URI
 
Constructor Summary
AbstractSchemaReader()
           
 
Method Summary
 Schema createSchema(InputSource in, PropertyMap properties)
          Creates a Schema by reading it from an InputSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.thaiopensource.validate.SchemaReader
createSchema, getOption
 

Constructor Detail

AbstractSchemaReader

public AbstractSchemaReader()
Method Detail

createSchema

public Schema createSchema(InputSource in,
                           PropertyMap properties)
                    throws IOException,
                           SAXException,
                           IncorrectSchemaException
Description copied from interface: SchemaReader
Creates a Schema by reading it from an InputSource.

Specified by:
createSchema in interface SchemaReader
properties - a PropertyMap to control the schema creation; must not be null @return a newly created Schema, never null
Throws:
IOException - if an I/O error occurs
SAXException
IncorrectSchemaException
See Also:
ValidateProperty