SchemaReader
AutoSchemaReader
, com.thaiopensource.validate.rng.impl.SchemaReaderImpl
public abstract class AbstractSchemaReader extends java.lang.Object implements SchemaReader
BASE_URI
Constructor | Description |
---|---|
AbstractSchemaReader() |
Modifier and Type | Method | Description |
---|---|---|
Schema |
createSchema(org.xml.sax.InputSource in,
PropertyMap properties) |
Creates a
Schema by reading it from an InputSource . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSchema, getOption
public Schema createSchema(org.xml.sax.InputSource in, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
SchemaReader
Schema
by reading it from an InputSource
.createSchema
in interface SchemaReader
properties
- a PropertyMap
to control the schema creation;
must not be null
@return a newly created Schema
, never null
java.io.IOException
- if an I/O error occursorg.xml.sax.SAXException
IncorrectSchemaException
ValidateProperty