createSchema
Schema createSchema(org.xml.sax.InputSource in,
PropertyMap properties)
throws java.io.IOException,
org.xml.sax.SAXException,
IncorrectSchemaException
Creates a Schema
by reading it from an InputSource
.
- Parameters:
in
- the InputSource
from which to read the schema;
must not be null
properties
- a PropertyMap
to control the schema creation;
must not be null
- Returns:
- a newly created
Schema
, never null
- Throws:
java.io.IOException
- if an I/O error occurs
org.xml.sax.SAXException
IncorrectSchemaException
- See Also:
ValidateProperty