public static interface NamespaceHandlerRegistry.NamespaceHandlerSet
Modifier and Type | Method and Description |
---|---|
void |
addListener(NamespaceHandlerRegistry.Listener listener)
Add a new Listener to be called when namespace handlers are registerd or unregistered
|
void |
destroy()
Destroy this handler set
|
NamespaceHandler |
getNamespaceHandler(URI namespace)
Retrieve the NamespaceHandler to use for the given namespace
|
Set<URI> |
getNamespaces() |
Schema |
getSchema()
Obtain a schema to validate the XML for the given list of namespaces
|
boolean |
isComplete() |
void |
removeListener(NamespaceHandlerRegistry.Listener listener)
Remove a previously registered Listener
|
boolean isComplete()
NamespaceHandler getNamespaceHandler(URI namespace)
null
if none is available at this timeSchema getSchema() throws SAXException, IOException
SAXException
IOException
void addListener(NamespaceHandlerRegistry.Listener listener)
listener
- the listener to registervoid removeListener(NamespaceHandlerRegistry.Listener listener)
listener
- the listener to unregistervoid destroy()
Copyright © 2016. All rights reserved.