Package 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>,java.lang.constant.Constable
public enum LexiconLayerTag extends Enum<LexiconLayerTag>
- Author:
- Yana Panchenko
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COOCCURRENCESENTRIESFREQUENCIESPOSTAGSSYLLABIFICATIONSSYNONYMS
-
Method Summary
Modifier and Type Method Description static LexiconLayerTaggetFromClass(Class<? extends LexiconLayer> cl)static LexiconLayerTaggetFromXmlName(String xmlName)Class<? extends LexiconLayer>getLayerClass()StringgetXmlName()static List<LexiconLayerTag>orderedLayerTags()static LexiconLayerTagvalueOf(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.
-
-
-
Enum Constant Detail
-
ENTRIES
public static final LexiconLayerTag ENTRIES
-
POSTAGS
public static final LexiconLayerTag POSTAGS
-
FREQUENCIES
public static final LexiconLayerTag FREQUENCIES
-
SYLLABIFICATIONS
public static final LexiconLayerTag SYLLABIFICATIONS
-
COOCCURRENCES
public static final LexiconLayerTag COOCCURRENCES
-
SYNONYMS
public static final LexiconLayerTag SYNONYMS
-
-
Method Detail
-
values
public static LexiconLayerTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- 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 nameNullPointerException- 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)
-
-