public interface SchemaReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_URI |
Modifier and Type | Method and Description |
---|---|
Schema |
createSchema(org.xml.sax.InputSource source,
PropertyMap properties)
Creates a
Schema by reading it from an InputSource . |
Schema |
createSchema(javax.xml.transform.sax.SAXSource source,
PropertyMap properties) |
Option |
getOption(java.lang.String uri) |
static final java.lang.String BASE_URI
Schema createSchema(org.xml.sax.InputSource source, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
Schema
by reading it from an InputSource
.source
- 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
Schema createSchema(javax.xml.transform.sax.SAXSource source, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
java.io.IOException
org.xml.sax.SAXException
IncorrectSchemaException
Option getOption(java.lang.String uri)