org.tm4j.topicmap.index.basic
Interface OccurrenceLocatorIndex

All Superinterfaces:
Index

public interface OccurrenceLocatorIndex
extends Index

This interface provides an index of Occurrences by the locator of the resource they refer to.

Since:
0.7.0
Author:
Kal Ahmed

Method Summary
 java.util.Collection getOccurrencesOfLocator(Locator loc)
          Returns the occurrences which refer to the resource address specified by loc
 
Methods inherited from interface org.tm4j.topicmap.index.Index
close, isOpen, open, reindex
 

Method Detail

getOccurrencesOfLocator

public java.util.Collection getOccurrencesOfLocator(Locator loc)
Returns the occurrences which refer to the resource address specified by loc

Parameters:
loc - The Locator which is the resource reference of each of the returned Occurrences.
Returns:
An unmodifiable Collection containing those Occurrences for which loc is the resource reference.