eu.clarin.weblicht.wlfxb.lx.xb
Enum LexiconLayerTag

java.lang.Object
  extended by java.lang.Enum<LexiconLayerTag>
      extended by eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerTag
All Implemented Interfaces:
Serializable, Comparable<LexiconLayerTag>

public enum LexiconLayerTag
extends Enum<LexiconLayerTag>


Enum Constant Summary
FREQUENCIES
           
LEMMAS
           
POSTAGS
           
RELATIONS
           
 
Method Summary
static LexiconLayerTag getFromClass(Class<? extends LexiconLayer> cl)
           
static LexiconLayerTag getFromXmlName(String xmlName)
           
 Class<? extends LexiconLayer> getLayerClass()
           
 String getXmlName()
           
static List<LexiconLayerTag> orderedLayerTags()
           
static LexiconLayerTag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LexiconLayerTag[] 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

LEMMAS

public static final LexiconLayerTag LEMMAS

POSTAGS

public static final LexiconLayerTag POSTAGS

FREQUENCIES

public static final LexiconLayerTag FREQUENCIES

RELATIONS

public static final LexiconLayerTag RELATIONS
Method Detail

values

public static LexiconLayerTag[] 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 (LexiconLayerTag c : LexiconLayerTag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LexiconLayerTag 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

getXmlName

public final String getXmlName()

getLayerClass

public final Class<? extends LexiconLayer> getLayerClass()

getFromXmlName

public static LexiconLayerTag getFromXmlName(String xmlName)

orderedLayerTags

public static List<LexiconLayerTag> orderedLayerTags()

getFromClass

public static LexiconLayerTag getFromClass(Class<? extends LexiconLayer> cl)


Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.