edu.stanford.smi.protegex.owl.model.impl
Class AbstractNamespaceManager
java.lang.Object
edu.stanford.smi.protegex.owl.model.impl.AbstractNamespaceManager
- All Implemented Interfaces:
- NamespaceManager, NamespaceMap
- Direct Known Subclasses:
- OWLNamespaceManager
- public abstract class AbstractNamespaceManager
- extends Object
- implements NamespaceManager
An abstract implementation of basic services for NamespaceManagers.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeners
private Collection listeners
owlModel
protected OWLModel owlModel
AbstractNamespaceManager
public AbstractNamespaceManager()
addNamespaceManagerListener
public void addNamespaceManagerListener(NamespaceManagerListener listener)
- Specified by:
addNamespaceManagerListener
in interface NamespaceManager
init
public void init(OWLModel owlModel)
- Specified by:
init
in interface NamespaceManager
getListeners
protected Collection getListeners()
removeNamespaceManagerListener
public void removeNamespaceManagerListener(NamespaceManagerListener listener)
- Specified by:
removeNamespaceManagerListener
in interface NamespaceManager
setDefaultNamespace
public void setDefaultNamespace(URI uri)
- Specified by:
setDefaultNamespace
in interface NamespaceMap
setPrefix
public void setPrefix(URI namespace,
String prefix)
- Specified by:
setPrefix
in interface NamespaceMap