|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.utils.TopicStringifiers
public class TopicStringifiers
PUBLIC: Creates stringifiers that extract strings representing names from topics, according to various criteria, including scope.
| Nested Class Summary | |
|---|---|
static class |
TopicStringifiers.FastSortNameStringifier
|
| Method Summary | |
|---|---|
static StringifierIF<TopicIF> |
getDefaultStringifier()
PUBLIC: Gets a stringifier that will return a default name for each topic it is applied to. |
static StringifierIF<TopicIF> |
getFastSortNameStringifier(TopicMapIF tm)
PUBLIC: Gets a fast stringifier that will return the sort names of topics, when they have one. |
static StringifierIF<TopicIF> |
getSortNameStringifier()
PUBLIC: Gets a stringifier that will return the sort names of topics, when they have one. |
static StringifierIF<TopicIF> |
getStringifier(Collection<TopicIF> tnscope,
Collection<TopicIF> vnscope)
PUBLIC: Gets a stringifier that will return the name it determines matches the given scopes best. |
static StringifierIF<TopicIF> |
getTopicNameStringifier(Collection<TopicIF> scope)
PUBLIC: Gets a stringifier that will return the topic name it determines to match the given scope best. |
static StringifierIF<TopicIF> |
getVariantNameStringifier(Collection<TopicIF> scope)
PUBLIC: Gets a stringifier that will return the variant that it determines to match the given scope best. |
static String |
toString(TopicIF topic)
PUBLIC: Returns the default name of the topic. |
static String |
toString(TopicIF topic,
Collection<TopicIF> tnscope)
PUBLIC: Returns the name of the topic given the specified topic name theme. |
static String |
toString(TopicIF topic,
Collection<TopicIF> tnscope,
Collection<TopicIF> vnscope)
PUBLIC: Returns the name of the topic given the specified topic name and variant name themes. |
static String |
toString(TopicIF topic,
Collection<TopicIF> tnscope,
TopicIF vntheme)
PUBLIC: Returns the name of the topic given the specified topic name and variant name themes. |
static String |
toString(TopicIF topic,
TopicIF tntheme)
PUBLIC: Returns the name of the topic given the specified topic name theme. |
static String |
toString(TopicIF topic,
TopicIF tntheme,
TopicIF vntheme)
PUBLIC: Returns the name of the topic given the specified topic name and variant name themes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StringifierIF<TopicIF> getDefaultStringifier()
public static StringifierIF<TopicIF> getTopicNameStringifier(Collection<TopicIF> scope)
scope - collection of TopicIF objects; the given scope
public static StringifierIF<TopicIF> getVariantNameStringifier(Collection<TopicIF> scope)
scope - collection of TopicIF objects; the given scope
public static StringifierIF<TopicIF> getSortNameStringifier()
public static StringifierIF<TopicIF> getFastSortNameStringifier(TopicMapIF tm)
public static StringifierIF<TopicIF> getStringifier(Collection<TopicIF> tnscope,
Collection<TopicIF> vnscope)
tnscope - collection of TopicIF objects; the scope applied to
topic namesvnscope - collection of TopicIF objects; the scope applied to
variant names
public static String toString(TopicIF topic)
public static String toString(TopicIF topic,
TopicIF tntheme)
public static String toString(TopicIF topic,
Collection<TopicIF> tnscope)
public static String toString(TopicIF topic,
TopicIF tntheme,
TopicIF vntheme)
public static String toString(TopicIF topic,
Collection<TopicIF> tnscope,
TopicIF vntheme)
public static String toString(TopicIF topic,
Collection<TopicIF> tnscope,
Collection<TopicIF> vnscope)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||