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 java.lang.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 Schema
createSchema(org.xml.sax.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
-
-
-
-
Method Detail
-
createSchema
public Schema createSchema(org.xml.sax.InputSource in, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
Description copied from interface:SchemaReader
Creates aSchema
by reading it from anInputSource
.- Specified by:
createSchema
in interfaceSchemaReader
properties
- aPropertyMap
to control the schema creation; must not benull
@return a newly createdSchema
, nevernull
- Throws:
java.io.IOException
- if an I/O error occursorg.xml.sax.SAXException
IncorrectSchemaException
- See Also:
ValidateProperty
-
-