Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.validate
Interface SchemaReader

All Known Implementing Classes:
  AutoSchemaReader, SchemaReaderImpl, VerifierFactorySchemaReader

public interface SchemaReader

A SchemaReader object is immutable and can thus be safely accessed concurrently from multiple threads.

Field Summary
`static java.lang.String` | `BASE_URI`

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)`

Field Detail

### BASE_URI

    public static final java.lang.String BASE_URI

See Also:
  Constant Field Values

Method Detail

### createSchema

    public 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`

### getOption

    public Option getOption(java.lang.String uri)

Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright SyncRO Soft SRL 2006-2007.