Package com.thaiopensource.validate
Interface SchemaReader
-
- All Known Implementing Classes:
AbstractSchemaReader,AutoSchemaReader,CompactSchemaReader,SAXSchemaReader,com.thaiopensource.validate.rng.impl.SchemaReaderImpl
public interface SchemaReaderA SchemaReader object is immutable and can thus be safely accessed concurrently from multiple threads.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemacreateSchema(SAXSource source, PropertyMap properties)SchemacreateSchema(InputSource source, PropertyMap properties)Creates aSchemaby reading it from anInputSource.OptiongetOption(String uri)
-
-
-
Field Detail
-
BASE_URI
static final String BASE_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
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:
ValidateProperty
-
createSchema
Schema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException
-
-