org.tm4j.topicmap.index.basic
Interface VariantLocatorIndex

All Superinterfaces:
Index

public interface VariantLocatorIndex
extends Index

This interface provides an index of Variants by the locator of the resource that their child VariantName object refers to.

Since:
0.9.7
Author:
Kal Ahmed

Method Summary
 java.util.Collection getVariantsOfLocator(Locator loc)
          Returns the Variants which have a child VariantName object which refers to the resource address specified by loc
 
Methods inherited from interface org.tm4j.topicmap.index.Index
close, isOpen, open, reindex
 

Method Detail

getVariantsOfLocator

public java.util.Collection getVariantsOfLocator(Locator loc)
Returns the Variants which have a child VariantName object which refers to the resource address specified by loc

Parameters:
loc - The Locator which is the resource reference of the child VariantName of each of the returned Variants.
Returns:
An unmodifiable Collection containing those Variant objects.