com.thaiopensource.validate
Interface SchemaReader
- All Known Implementing Classes:
- AutoSchemaReader, com.thaiopensource.relaxng.impl.SchemaReaderImpl
- public interface SchemaReader
A SchemaReader object is immutable and can thus be safely accessed
concurrently from multiple threads.
BASE_URI
public static final String BASE_URI
- See Also:
- Constant Field Values
createSchema
public Schema createSchema(InputSource in,
PropertyMap properties)
throws IOException,
SAXException,
IncorrectSchemaException
- Creates a
Schema by reading it from an InputSource.
- Parameters:
in - the InputSource from which to read the schema;
must not be nullproperties - a PropertyMap to control the schema creation;
must not be null
- Returns:
- a newly created
Schema, never null
- Throws:
IOException - if an I/O error occurs
SAXException
IncorrectSchemaException- See Also:
ValidateProperty
getOption
public Option getOption(String uri)