net.ontopia.topicmaps.impl.basic.index
Class NameIndex
java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.utils.BasicIndex
net.ontopia.topicmaps.impl.basic.index.NameIndex
- All Implemented Interfaces:
- IndexIF, NameIndexIF, EventListenerIF
public class NameIndex
- extends BasicIndex
- implements NameIndexIF
INTERNAL: The basic dynamic name index implementation.
Method Summary |
java.util.Collection |
getTopicNames(java.lang.String value)
PUBLIC: Gets all topic names that have the given name value (in any scope). |
java.util.Collection |
getVariants(java.lang.String value)
INTERNAL: Gets all variants that have the specified value
independent of datatype. |
java.util.Collection |
getVariants(java.lang.String value,
LocatorIF datatype)
INTERNAL: Gets all variants that have the specified value and
datatype. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
basenames
protected CollectionMap basenames
variants
protected CollectionMap variants
getTopicNames
public java.util.Collection getTopicNames(java.lang.String value)
- Description copied from interface:
NameIndexIF
- PUBLIC: Gets all topic names that have the given name value (in any scope).
- Specified by:
getTopicNames
in interface NameIndexIF
- Parameters:
value
- A string; the value of a topic name.
- Returns:
- A collection of TopicNameIF objects with the given name value.
getVariants
public java.util.Collection getVariants(java.lang.String value)
- Description copied from interface:
NameIndexIF
- INTERNAL: Gets all variants that have the specified value
independent of datatype.
- Specified by:
getVariants
in interface NameIndexIF
- Returns:
- A collection of VariantNameIF objects.
getVariants
public java.util.Collection getVariants(java.lang.String value,
LocatorIF datatype)
- Description copied from interface:
NameIndexIF
- INTERNAL: Gets all variants that have the specified value and
datatype.
- Specified by:
getVariants
in interface NameIndexIF
- Returns:
- A collection of VariantNameIF objects.
Copyright © 2000-2012 Ontopia.