net.ontopia.topicmaps.impl.utils
Class BasicIndex
java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.utils.BasicIndex
- All Implemented Interfaces:
- IndexIF, EventListenerIF
- Direct Known Subclasses:
- ClassInstanceIndex, FulltextIndexManager, NameIndex, OccurrenceIndex, ScopeIndex
public abstract class BasicIndex
- extends AbstractIndex
- implements EventListenerIF
INTERNAL: An abstract dynamic index superclass.
Method Summary |
IndexIF |
getIndex()
INTERNAL: Method used by IndexManagerIF to manage index creation. |
void |
processEvent(java.lang.Object object,
java.lang.String event,
java.lang.Object new_value,
java.lang.Object old_value)
INTERNAL: A method that receives notification when an event has been triggered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlers
protected java.util.Map<java.lang.String,EventListenerIF> handlers
BasicIndex
public BasicIndex()
getIndex
public IndexIF getIndex()
- Description copied from class:
AbstractIndex
- INTERNAL: Method used by IndexManagerIF to manage index creation. The idea
behind this method is for the index itself to decide whether to create a
new instance every time or the same one.
- Specified by:
getIndex
in class AbstractIndex
- Returns:
- Index instance.
processEvent
public void processEvent(java.lang.Object object,
java.lang.String event,
java.lang.Object new_value,
java.lang.Object old_value)
- Description copied from interface:
EventListenerIF
- INTERNAL: A method that receives notification when an event has been triggered.
- Specified by:
processEvent
in interface EventListenerIF
Copyright © 2000-2012 Ontopia.