|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thaiopensource.validate.auto.AutoSchemaReader
Field Summary |
---|
Fields inherited from interface com.thaiopensource.validate.SchemaReader |
---|
BASE_URI |
Constructor Summary | |
---|---|
AutoSchemaReader()
|
|
AutoSchemaReader(SchemaReceiverFactory srf)
|
Method Summary | |
---|---|
Schema |
createSchema(org.xml.sax.InputSource in,
PropertyMap properties)
Creates a Schema by reading it from an InputSource . |
Option |
getOption(java.lang.String uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AutoSchemaReader()
public AutoSchemaReader(SchemaReceiverFactory srf)
Method Detail |
public Schema createSchema(org.xml.sax.InputSource in, PropertyMap properties) throws java.io.IOException, org.xml.sax.SAXException, IncorrectSchemaException
SchemaReader
Schema
by reading it from an InputSource
.
createSchema
in interface SchemaReader
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
Schema
, never null
IncorrectSchemaException
org.xml.sax.SAXException
java.io.IOException
- if an I/O error occursValidateProperty
public Option getOption(java.lang.String uri)
getOption
in interface SchemaReader
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |