public abstract class AbstractSchemaProviderImpl extends Object implements SchemaProvider
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,IslandSchema> |
schemata
a map from primary namespace to IslandSchema.
|
| Constructor and Description |
|---|
AbstractSchemaProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(String uri,
IslandSchema s)
adds a new IslandSchema. the caller should make sure that the given uri is
not defined already.
|
IslandSchema |
getSchemaByNamespace(String uri)
gets IslandSchema whose primary namespace URI is the given value.
|
IslandSchema[] |
getSchemata()
returns all IslandSchemata at once.
|
Iterator<String> |
iterateNamespace()
iterates all namespaces that are registered in this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTopLevelVerifierprotected final Map<String,IslandSchema> schemata
public void addSchema(String uri, IslandSchema s)
public IslandSchema getSchemaByNamespace(String uri)
SchemaProvidergetSchemaByNamespace in interface SchemaProviderpublic Iterator<String> iterateNamespace()
SchemaProvideriterateNamespace in interface SchemaProviderpublic IslandSchema[] getSchemata()
SchemaProvidergetSchemata in interface SchemaProviderCopyright © 2016 Philip Helger. All rights reserved.