|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 |
getDefaultStringifier()
PUBLIC: Gets a stringifier that will return a default name for each topic it is applied to. |
static StringifierIF |
getFastSortNameStringifier(TopicMapIF tm)
PUBLIC: Gets a fast stringifier that will return the sort names of topics, when they have one. |
static StringifierIF |
getSortNameStringifier()
PUBLIC: Gets a stringifier that will return the sort names of topics, when they have one. |
static StringifierIF |
getStringifier(java.util.Collection tnscope,
java.util.Collection vnscope)
PUBLIC: Gets a stringifier that will return the name it determines matches the given scopes best. |
static StringifierIF |
getTopicNameStringifier(java.util.Collection scope)
PUBLIC: Gets a stringifier that will return the topic name it determines to match the given scope best. |
static StringifierIF |
getVariantNameStringifier(java.util.Collection scope)
PUBLIC: Gets a stringifier that will return the variant that it determines to match the given scope best. |
static java.lang.String |
toString(TopicIF topic)
PUBLIC: Returns the default name of the topic. |
static java.lang.String |
toString(TopicIF topic,
java.util.Collection tnscope)
PUBLIC: Returns the name of the topic given the specified topic name theme. |
static java.lang.String |
toString(TopicIF topic,
java.util.Collection tnscope,
java.util.Collection vnscope)
PUBLIC: Returns the name of the topic given the specified topic name and variant name themes. |
static java.lang.String |
toString(TopicIF topic,
java.util.Collection tnscope,
TopicIF vntheme)
PUBLIC: Returns the name of the topic given the specified topic name and variant name themes. |
static java.lang.String |
toString(TopicIF topic,
TopicIF tntheme)
PUBLIC: Returns the name of the topic given the specified topic name theme. |
static java.lang.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 getDefaultStringifier()
public static StringifierIF getTopicNameStringifier(java.util.Collection scope)
scope
- collection of TopicIF objects; the given scope
public static StringifierIF getVariantNameStringifier(java.util.Collection scope)
scope
- collection of TopicIF objects; the given scope
public static StringifierIF getSortNameStringifier()
public static StringifierIF getFastSortNameStringifier(TopicMapIF tm)
public static StringifierIF getStringifier(java.util.Collection tnscope, java.util.Collection vnscope)
tnscope
- collection of TopicIF objects; the scope applied to
topic namesvnscope
- collection of TopicIF objects; the scope applied to
variant names
public static java.lang.String toString(TopicIF topic)
public static java.lang.String toString(TopicIF topic, TopicIF tntheme)
public static java.lang.String toString(TopicIF topic, java.util.Collection tnscope)
public static java.lang.String toString(TopicIF topic, TopicIF tntheme, TopicIF vntheme)
public static java.lang.String toString(TopicIF topic, java.util.Collection tnscope, TopicIF vntheme)
public static java.lang.String toString(TopicIF topic, java.util.Collection tnscope, java.util.Collection vnscope)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |