AbstractSchemaReader
, AutoSchemaReader
, CompactSchemaReader
, SAXSchemaReader
, com.thaiopensource.validate.rng.impl.SchemaReaderImpl
public interface SchemaReader
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BASE_URI |
Modifier and Type | Method | Description |
---|---|---|
Schema |
createSchema(javax.xml.transform.sax.SAXSource source,
PropertyMap properties) |
|
Schema |
createSchema(org.xml.sax.InputSource source,
PropertyMap properties) |
Creates a
Schema by reading it from an InputSource . |
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)