public interface SchemaReader
| Modifier and Type | Method and Description |
|---|---|
Schema |
createSchema(InputSource source,
PropertyMap properties)
Creates a
Schema by reading it from an InputSource. |
Schema |
createSchema(SAXSource source,
PropertyMap properties) |
Option |
getOption(String uri) |
static final String BASE_URI
Schema createSchema(InputSource source, PropertyMap properties) throws IOException, 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 nullIOException - if an I/O error occursSAXExceptionIncorrectSchemaExceptionValidatePropertySchema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException