|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamespaceHandlerRegistry
Registry of NamespaceHandler.
| Nested Class Summary | |
|---|---|
static interface |
NamespaceHandlerRegistry.Listener
Interface used to listen to registered or unregistered namespace handlers. |
| Method Summary | |
|---|---|
void |
addListener(NamespaceHandlerRegistry.Listener listener)
Add a new Listener to be called when namespace handlers are registerd or unregistered |
void |
destroy()
Destroy this registry |
NamespaceHandler |
getNamespaceHandler(URI uri)
Retrieve the NamespaceHandler for the specified URI |
Schema |
getSchema(Set<URI> namespaces)
Obtain a schema to validate the XML for the given list of namespaces |
void |
removeListener(NamespaceHandlerRegistry.Listener listener)
Remove a previously registered Listener |
| Method Detail |
|---|
NamespaceHandler getNamespaceHandler(URI uri)
NamespaceHandler for the specified URI
uri - the namespace identifying the namespace handler
NamespaceHandler or null if none has been registered for the given namespacevoid addListener(NamespaceHandlerRegistry.Listener listener)
listener - the listener to registervoid removeListener(NamespaceHandlerRegistry.Listener listener)
listener - the listener to unregister
Schema getSchema(Set<URI> namespaces)
throws SAXException,
IOException
namespaces -
SAXException
IOExceptionvoid destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||