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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_URI
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemacreateSchema(javax.xml.transform.sax.SAXSource source, PropertyMap properties)SchemacreateSchema(org.xml.sax.InputSource source, PropertyMap properties)Creates aSchemaby reading it from anInputSource.OptiongetOption(java.lang.String uri)
-
-
-
Field Detail
-
BASE_URI
static final java.lang.String BASE_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSchema
Schema createSchema(org.xml.sax.InputSource source, PropertyMap properties) throws java.io.IOException, org.xml.sax.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:
java.io.IOException- if an I/O error occursorg.xml.sax.SAXExceptionIncorrectSchemaException- See Also:
ValidateProperty
-
createSchema
Schema createSchema(javax.xml.transform.sax.SAXSource source, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionIncorrectSchemaException
-
getOption
Option getOption(java.lang.String uri)
-
-