Interface SchemaReader
- All Known Implementing Classes:
AbstractSchemaReader,AutoSchemaReader,CompactSchemaReader,SAXSchemaReader,com.thaiopensource.validate.rng.impl.SchemaReaderImpl
public interface SchemaReader
A SchemaReader object is immutable and can thus be safely accessed
concurrently from multiple threads.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateSchema(SAXSource source, PropertyMap properties) createSchema(InputSource source, PropertyMap properties) Creates aSchemaby reading it from anInputSource.
-
Field Details
-
BASE_URI
- See Also:
-
-
Method Details
-
createSchema
Schema createSchema(InputSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException Creates aSchemaby reading it from anInputSource.- Parameters:
source-properties- aPropertyMapto control the schema creation; must not benull@return a newly createdSchema, nevernull- Throws:
IOException- if an I/O error occursSAXExceptionIncorrectSchemaException- See Also:
-
createSchema
Schema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException -
getOption
-