Package com.thaiopensource.validate
Class AbstractSchemaReader
- java.lang.Object
-
- 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
Constructors Constructor Description AbstractSchemaReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemacreateSchema(InputSource in, PropertyMap properties)Creates aSchemaby reading it from anInputSource.-
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
-
-
-
-
Method Detail
-
createSchema
public Schema createSchema(InputSource in, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException
Description copied from interface:SchemaReaderCreates aSchemaby reading it from anInputSource.- Specified by:
createSchemain interfaceSchemaReaderproperties- aPropertyMapto control the schema creation; must not benull@return a newly createdSchema, nevernull- Throws:
IOException- if an I/O error occursSAXExceptionIncorrectSchemaException- See Also:
ValidateProperty
-
-