All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.ginf.SchemaRegistry

public interface SchemaRegistry
Schema registry is used to manage run-time schema information. It also defines the vocabulary used in the RDF schema specification.


Method Index

 o add(String, Model)
Adds the schema model to the schema registry.
 o addKnown(String)
Adds a schema URI to the list of known URIs.
 o addLoader(SchemaLoader)
Adds a new schema loader
 o contains(String)
Tests if the registry contains schema located at the given URI.
 o containsLoader(SchemaLoader)
Tests whether contains loader
 o fetch(InputSource)
A default method to load schemas from an InputSource source.getSystemId() = schema URI
 o fetch(String)
A callback method which is supposed to be invoked by RDFMS (parser/serializer) when it encounteres an unknown schema.
 o get()
Gets the complete schema information available in a single model.
 o get(String)
Gets the model of the schema located at URI.
 o isKnown(String)
Tests if the URI of the schema is known.
 o knownSchemas()
Lists all known schemas
 o loaders()
Lists all registered loaders
 o remove(String)
Removes a schema model out of the registry.
 o removeKnown(String)
Removes schema URI from the list of known schemas.
 o removeLoader(SchemaLoader)
Removes schema loader

Methods

 o isKnown
 public abstract boolean isKnown(String uri)
Tests if the URI of the schema is known. "Known" = do not try to fetch

 o addKnown
 public abstract void addKnown(String uri)
Adds a schema URI to the list of known URIs. If a schema URI is known no implicit attempt will be made to fetch it. However, it still can be fetched on request.

 o removeKnown
 public abstract void removeKnown(String uri)
Removes schema URI from the list of known schemas.

 o knownSchemas
 public abstract Enumeration knownSchemas()
Lists all known schemas

 o contains
 public abstract boolean contains(String uri)
Tests if the registry contains schema located at the given URI.

 o add
 public abstract void add(String uri,
                          Model schema)
Adds the schema model to the schema registry.

 o addLoader
 public abstract void addLoader(SchemaLoader loader)
Adds a new schema loader

 o removeLoader
 public abstract void removeLoader(SchemaLoader loader)
Removes schema loader

 o containsLoader
 public abstract boolean containsLoader(SchemaLoader loader)
Tests whether contains loader

 o loaders
 public abstract Enumeration loaders()
Lists all registered loaders

 o remove
 public abstract void remove(String uri)
Removes a schema model out of the registry.

 o get
 public abstract Model get(String uri)
Gets the model of the schema located at URI.

 o get
 public abstract Model get()
Gets the complete schema information available in a single model.

 o fetch
 public abstract void fetch(String uri)
A callback method which is supposed to be invoked by RDFMS (parser/serializer) when it encounteres an unknown schema.

 o fetch
 public abstract void fetch(InputSource source)
A default method to load schemas from an InputSource source.getSystemId() = schema URI


All Packages  Class Hierarchy  This Package  Previous  Next  Index