org.iso_relax.dispatcher

Interface SchemaProvider

Known Implementing Classes:
AbstractSchemaProviderImpl

public interface SchemaProvider

provides necessary schema information for Dispatcher. This interface can be implemented by applications.
Author:
Kohsuke KAWAGUCHI

Method Summary

IslandVerifier
createTopLevelVerifier()
creates IslandVerifier that validates document element.
IslandSchema
getSchemaByNamespace(String uri)
gets IslandSchema whose primary namespace URI is the given value.
IslandSchema[]
getSchemata()
returns all IslandSchemata at once.
Iterator
iterateNamespace()
iterates all namespaces that are registered in this object.

Method Details

createTopLevelVerifier

public IslandVerifier createTopLevelVerifier()
creates IslandVerifier that validates document element.

getSchemaByNamespace

public IslandSchema getSchemaByNamespace(String uri)
gets IslandSchema whose primary namespace URI is the given value.
Returns:
null if no such IslandSchema exists.

getSchemata

public IslandSchema[] getSchemata()
returns all IslandSchemata at once.

iterateNamespace

public Iterator iterateNamespace()
iterates all namespaces that are registered in this object.