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
-
Field Summary
Fields inherited from interface com.thaiopensource.validate.SchemaReader
BASE_URI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSchema
(InputSource in, PropertyMap properties) Creates aSchema
by 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
-
Constructor Details
-
AbstractSchemaReader
public AbstractSchemaReader()
-
-
Method Details
-
createSchema
public Schema createSchema(InputSource in, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException Description copied from interface:SchemaReader
Creates aSchema
by reading it from anInputSource
.- Specified by:
createSchema
in interfaceSchemaReader
- Parameters:
in
-properties
- aPropertyMap
to control the schema creation; must not benull
@return a newly createdSchema
, nevernull
- Throws:
IOException
- if an I/O error occursSAXException
IncorrectSchemaException
- See Also:
-