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 SchemaReaderFactory

All Known Implementing Classes:
  JarvSchemaReaderFactory, SchemaReaderLoader, SchematronSchemaReaderFactory, SchematronSchemaReaderFactory, XsdSchemaReaderFactory

public interface SchemaReaderFactory

A factory for SchemaReader. A class that implements this interface can be automatically discovered by SchemaReaderLoader, if it has a 0-argument constructor and if its name is listed in the file `META-INF/services/com.thaiopensource.validate.SchemaReaderFactory`.

See Also:
  `SchemaReaderLoader`, `SchemaReader`

Method Summary
`SchemaReader` | `createSchemaReader(java.lang.String namespaceUri)` Creates a SchemaReader for a particular schema language.
`Option` | `getOption(java.lang.String uri)`

Method Detail

### createSchemaReader

    public SchemaReader createSchemaReader(java.lang.String namespaceUri)

  Creates a SchemaReader for a particular schema language.

  Parameters:
    `namespaceUri` - a String identifing the schema language; must not be `null`; for schema languages that use XML, this should be the namespace URI of the root element if the root element has a non-absent namespace URI
  Returns:
    a SchemaReader for the specified schema language, or `null`, if this SchemaReaderFactory cannot create a SchemaReader for the specified schema language

### 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.