org.topbraid.strings.labels
Interface IResourceLabelManager
- All Known Implementing Classes:
- ResourceLabelManagerImpl
public interface IResourceLabelManager
An interface for objects that can manage the labels of all resources
in a given OntModel. The manager must update itself on changes and
provide efficient look up for auto-completion.
- Author:
- Holger Knublauch
addListener
void addListener(IResourceLabelListener listener)
getLabel
java.lang.String getLabel(com.hp.hpl.jena.rdf.model.Resource resource)
- Gets the label of a given resource.
- Parameters:
resource - the resource to get the label of
- Returns:
- the label or null if none is registered
listMatchingResources
java.util.Iterator<com.hp.hpl.jena.rdf.model.Resource> listMatchingResources(java.lang.String prefix,
java.lang.String fromAfter)
removeListener
void removeListener(IResourceLabelListener listener)