public interface NamespaceHandlerSet
Modifier and Type | Interface and Description |
---|---|
static interface |
NamespaceHandlerSet.Listener
Interface used to listen to registered or unregistered namespace handlers.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(NamespaceHandlerSet.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
|
Schema |
getSchema(Map<String,String> locations)
Obtain a schema to validate the XML for the given list of namespaces
|
boolean |
isComplete() |
void |
removeListener(NamespaceHandlerSet.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
Schema getSchema(Map<String,String> locations) throws SAXException, IOException
SAXException
IOException
void addListener(NamespaceHandlerSet.Listener listener)
listener
- the listener to registervoid removeListener(NamespaceHandlerSet.Listener listener)
listener
- the listener to unregistervoid destroy()
Copyright © 2016. All rights reserved.