net.ontopia.topicmaps.utils.tmprefs
Enum TopicMapPreferencesOntology

java.lang.Object
  extended by java.lang.Enum<TopicMapPreferencesOntology>
      extended by net.ontopia.topicmaps.utils.tmprefs.TopicMapPreferencesOntology
All Implemented Interfaces:
Serializable, Comparable<TopicMapPreferencesOntology>

public enum TopicMapPreferencesOntology
extends Enum<TopicMapPreferencesOntology>


Enum Constant Summary
CHILD
           
PARENT
           
PARENTCHILD
           
PREFERENCE
           
PREFERENCEPROPERTY
           
SYSTEMROOT
           
 
Field Summary
static String PREFIX
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - 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)


Copyright © 2000-2012 Ontopia.