Package org.iso_relax.dispatcher.impl
Class AbstractSchemaProviderImpl
java.lang.Object
org.iso_relax.dispatcher.impl.AbstractSchemaProviderImpl
- All Implemented Interfaces:
SchemaProvider
default implementation of SchemaProvider.
Applications can use this class as the base class of their own SchemaProvider.
- Author:
- Kohsuke KAWAGUCHI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchema(String uri, IslandSchema s) adds a new IslandSchema.gets IslandSchema whose primary namespace URI is the given value.returns all IslandSchemata at once.iterates all namespaces that are registered in this object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.iso_relax.dispatcher.SchemaProvider
createTopLevelVerifier
-
Constructor Details
-
AbstractSchemaProviderImpl
public AbstractSchemaProviderImpl()
-
-
Method Details
-
addSchema
adds a new IslandSchema. the caller should make sure that the given uri is not defined already. -
getSchemaByNamespace
Description copied from interface:SchemaProvidergets IslandSchema whose primary namespace URI is the given value.- Specified by:
getSchemaByNamespacein interfaceSchemaProvider- Returns:
- null if no such IslandSchema exists.
-
iterateNamespace
Description copied from interface:SchemaProvideriterates all namespaces that are registered in this object.- Specified by:
iterateNamespacein interfaceSchemaProvider
-
getSchemata
Description copied from interface:SchemaProviderreturns all IslandSchemata at once.- Specified by:
getSchematain interfaceSchemaProvider
-