public abstract class SchemaReaderImpl extends java.lang.Object implements SchemaReader
BASE_URI
Constructor and Description |
---|
SchemaReaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract Parseable |
createParseable(XMLReaderCreator xrc,
org.xml.sax.InputSource in,
org.xml.sax.ErrorHandler eh) |
Schema |
createSchema(org.xml.sax.InputSource in,
PropertyMap properties)
Creates a
Schema by reading it from an InputSource . |
Option |
getOption(java.lang.String uri) |
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
in
- the InputSource
from which to read the schema;
must not be null
properties
- a PropertyMap
to control the schema creation;
must not be null
Schema
, never null
java.io.IOException
- if an I/O error occursorg.xml.sax.SAXException
IncorrectSchemaException
ValidateProperty
public Option getOption(java.lang.String uri)
getOption
in interface SchemaReader
protected abstract Parseable createParseable(XMLReaderCreator xrc, org.xml.sax.InputSource in, org.xml.sax.ErrorHandler eh)