protected class NamespaceHandlerRegistryImpl.NamespaceHandlerSetImpl extends Object implements org.apache.aries.blueprint.parser.NamespaceHandlerSet
Constructor and Description |
---|
NamespaceHandlerSetImpl(Set<URI> namespaces,
org.osgi.framework.Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.apache.aries.blueprint.parser.NamespaceHandlerSet.Listener listener) |
void |
destroy() |
org.apache.aries.blueprint.NamespaceHandler |
getNamespaceHandler(URI namespace) |
Set<URI> |
getNamespaces() |
Schema |
getSchema() |
Schema |
getSchema(Map<String,String> locations) |
boolean |
isComplete() |
void |
registerHandler(URI uri,
org.apache.aries.blueprint.NamespaceHandler handler) |
void |
removeListener(org.apache.aries.blueprint.parser.NamespaceHandlerSet.Listener listener) |
void |
unregisterHandler(URI uri,
org.apache.aries.blueprint.NamespaceHandler handler) |
public boolean isComplete()
isComplete
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public Set<URI> getNamespaces()
getNamespaces
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public org.apache.aries.blueprint.NamespaceHandler getNamespaceHandler(URI namespace)
getNamespaceHandler
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public Schema getSchema() throws SAXException, IOException
getSchema
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
SAXException
IOException
public Schema getSchema(Map<String,String> locations) throws SAXException, IOException
getSchema
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
SAXException
IOException
public void addListener(org.apache.aries.blueprint.parser.NamespaceHandlerSet.Listener listener)
addListener
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public void removeListener(org.apache.aries.blueprint.parser.NamespaceHandlerSet.Listener listener)
removeListener
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public void destroy()
destroy
in interface org.apache.aries.blueprint.parser.NamespaceHandlerSet
public void registerHandler(URI uri, org.apache.aries.blueprint.NamespaceHandler handler)
public void unregisterHandler(URI uri, org.apache.aries.blueprint.NamespaceHandler handler)
Copyright © 2017. All rights reserved.