|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.CharacteristicUtils
public class CharacteristicUtils
INTERNAL: Characteristic processing utilities.
Constructor Summary | |
---|---|
CharacteristicUtils()
|
Method Summary | |
---|---|
static java.util.Collection |
getAssociatedTopics(TopicIF topic)
INTERNAL: Returns all the directly associated topics of the given topic. |
static TypedIF |
getByType(java.util.Collection objects,
TopicIF type)
INTERNAL: Finds first characteristic of a specified type. |
static java.util.Collection |
getOccurrences(java.util.Collection topics)
Gets the occurrences of all the topics in the given collection. |
static java.util.Collection |
getRoles(java.util.Collection topics)
Gets the association roles of the topics in the given collection. |
static java.util.Collection |
getTopicNames(java.util.Collection topics)
INTERNAL: Gets the basenames of the given collection of topics. |
static java.util.Collection |
getTopicsOfTopicNames(java.util.Collection basenames)
INTERNAL: Gets the topics of a collection of basenames. |
static java.util.Collection |
getVariants(java.util.Collection names)
Gets all the variant names of the given collecton of basenames, including nested ones. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacteristicUtils()
Method Detail |
---|
public static TypedIF getByType(java.util.Collection objects, TopicIF type)
objects
- A collection of TypedIF objects.
public static java.util.Collection getTopicNames(java.util.Collection topics)
topics
- A scope; a collection of TopicIF objects.
public static java.util.Collection getVariants(java.util.Collection names)
names
- A collection of TopicNameIF objects.
public static java.util.Collection getOccurrences(java.util.Collection topics)
topics
- A collection of TopicIF objects; a scope.
public static java.util.Collection getRoles(java.util.Collection topics)
topics
- A collection of TopicIF objects; a scope.
public static java.util.Collection getTopicsOfTopicNames(java.util.Collection basenames)
basenames
- A collection of TopicNameIFs.
public static java.util.Collection getAssociatedTopics(TopicIF topic)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |