com.thaiopensource.validate.jarv
Class VerifierFactorySchemaReader

java.lang.Object
  extended by com.thaiopensource.validate.jarv.VerifierFactorySchemaReader
All Implemented Interfaces:
SchemaReader

public class VerifierFactorySchemaReader
extends Object
implements SchemaReader


Nested Class Summary
private static class VerifierFactorySchemaReader.SchemaImpl
           
 
Field Summary
private  org.iso_relax.verifier.VerifierFactory vf
           
 
Fields inherited from interface com.thaiopensource.validate.SchemaReader
BASE_URI
 
Constructor Summary
VerifierFactorySchemaReader(org.iso_relax.verifier.VerifierFactory vf)
           
 
Method Summary
 Schema createSchema(InputSource in, PropertyMap properties)
          Creates a Schema by reading it from an InputSource.
 Option getOption(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vf

private final org.iso_relax.verifier.VerifierFactory vf
Constructor Detail

VerifierFactorySchemaReader

public VerifierFactorySchemaReader(org.iso_relax.verifier.VerifierFactory vf)
Method Detail

createSchema

public Schema createSchema(InputSource in,
                           PropertyMap properties)
                    throws IOException,
                           SAXException,
                           IncorrectSchemaException
Description copied from interface: SchemaReader
Creates a Schema by reading it from an InputSource.

Specified by:
createSchema in interface SchemaReader
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:
IOException - if an I/O error occurs
SAXException
IncorrectSchemaException
See Also:
ValidateProperty

getOption

public Option getOption(String uri)
Specified by:
getOption in interface SchemaReader