org.iso_relax.dispatcher
Interface SchemaProvider

All 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(java.lang.String uri)
          gets IslandSchema whose primary namespace URI is the given value.
 IslandSchema[] getSchemata()
          returns all IslandSchemata at once.
 java.util.Iterator iterateNamespace()
          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(java.lang.String uri)
gets IslandSchema whose primary namespace URI is the given value.

Returns:
null if no such IslandSchema exists.

iterateNamespace

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


getSchemata

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