org.iso_relax.dispatcher

Interface SchemaProvider

public interface SchemaProvider

provides necessary schema information for Dispatcher. This interface can be implemented by applications.

Author: Kohsuke KAWAGUCHI

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

Method Detail

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.