eu.clarin.weblicht.wlfxb.lx.xb
Enum LexiconLayerTag
java.lang.Object
java.lang.Enum<LexiconLayerTag>
eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerTag
- All Implemented Interfaces:
- Serializable, Comparable<LexiconLayerTag>
public enum LexiconLayerTag
- extends Enum<LexiconLayerTag>
LEMMAS
public static final LexiconLayerTag LEMMAS
POSTAGS
public static final LexiconLayerTag POSTAGS
FREQUENCIES
public static final LexiconLayerTag FREQUENCIES
RELATIONS
public static final LexiconLayerTag RELATIONS
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.