Package com.thaiopensource.validate
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 aSchema
by reading it from anInputSource
.
-
Field Details
-
BASE_URI
- See Also:
-
-
Method Details
-
createSchema
Schema createSchema(InputSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException Creates aSchema
by reading it from anInputSource
.- Parameters:
source
-properties
- aPropertyMap
to control the schema creation; must not benull
@return a newly createdSchema
, nevernull
- Throws:
IOException
- if an I/O error occursSAXException
IncorrectSchemaException
- See Also:
-
createSchema
Schema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException -
getOption
-