Enum TopicMapPreferencesOntology
- java.lang.Object
-
- java.lang.Enum<TopicMapPreferencesOntology>
-
- net.ontopia.topicmaps.utils.tmprefs.TopicMapPreferencesOntology
-
- All Implemented Interfaces:
Serializable
,Comparable<TopicMapPreferencesOntology>
public enum TopicMapPreferencesOntology extends Enum<TopicMapPreferencesOntology>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD
PARENT
PARENTCHILD
PREFERENCE
PREFERENCEPROPERTY
SYSTEMROOT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorIF
getLocator()
String
getPostfix()
static EnumMap<TopicMapPreferencesOntology,TopicIF>
loadOntology(TopicMapIF topicmap)
static EnumMap<TopicMapPreferencesOntology,TopicIF>
loadOntology(TopicMapIF topicmap, boolean forceCreate)
TopicIF
t(TopicMapIF tm)
static TopicMapPreferencesOntology
valueOf(String name)
Returns the enum constant of this type with the specified name.static TopicMapPreferencesOntology[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREFERENCE
public static final TopicMapPreferencesOntology PREFERENCE
-
PREFERENCEPROPERTY
public static final TopicMapPreferencesOntology PREFERENCEPROPERTY
-
PARENTCHILD
public static final TopicMapPreferencesOntology PARENTCHILD
-
PARENT
public static final TopicMapPreferencesOntology PARENT
-
CHILD
public static final TopicMapPreferencesOntology CHILD
-
SYSTEMROOT
public static final TopicMapPreferencesOntology SYSTEMROOT
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TopicMapPreferencesOntology[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TopicMapPreferencesOntology c : TopicMapPreferencesOntology.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TopicMapPreferencesOntology valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPostfix
public String getPostfix()
-
getLocator
public LocatorIF getLocator()
-
t
public TopicIF t(TopicMapIF tm)
-
loadOntology
public static EnumMap<TopicMapPreferencesOntology,TopicIF> loadOntology(TopicMapIF topicmap)
-
loadOntology
public static EnumMap<TopicMapPreferencesOntology,TopicIF> loadOntology(TopicMapIF topicmap, boolean forceCreate)
-
-