Package eu.clarin.weblicht.wlfxb.ed.xb
Enum ExternalDataLayerTag
- java.lang.Object
-
- java.lang.Enum<ExternalDataLayerTag>
-
- eu.clarin.weblicht.wlfxb.ed.xb.ExternalDataLayerTag
-
- All Implemented Interfaces:
Serializable,Comparable<ExternalDataLayerTag>,java.lang.constant.Constable
public enum ExternalDataLayerTag extends Enum<ExternalDataLayerTag>
-
-
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 CANONICAL_SEGMENTATIONNAMEDENTITY_MODELPHONETIC_SEGMENTATIONSPEECH_SIGNALTOKEN_SEGMENTATION
-
Method Summary
Modifier and Type Method Description static ExternalDataLayerTaggetFromClass(Class<? extends ExternalDataLayer> cl)static ExternalDataLayerTaggetFromXmlName(String xmlName)Class<? extends ExternalDataLayer>getLayerClass()StringgetXmlName()static List<ExternalDataLayerTag>orderedLayerTags()static ExternalDataLayerTagvalueOf(String name)Returns the enum constant of this type with the specified name.static ExternalDataLayerTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPEECH_SIGNAL
public static final ExternalDataLayerTag SPEECH_SIGNAL
-
TOKEN_SEGMENTATION
public static final ExternalDataLayerTag TOKEN_SEGMENTATION
-
PHONETIC_SEGMENTATION
public static final ExternalDataLayerTag PHONETIC_SEGMENTATION
-
CANONICAL_SEGMENTATION
public static final ExternalDataLayerTag CANONICAL_SEGMENTATION
-
NAMEDENTITY_MODEL
public static final ExternalDataLayerTag NAMEDENTITY_MODEL
-
-
Method Detail
-
values
public static ExternalDataLayerTag[] 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 ExternalDataLayerTag 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 ExternalDataLayer> getLayerClass()
-
getFromXmlName
public static ExternalDataLayerTag getFromXmlName(String xmlName)
-
orderedLayerTags
public static List<ExternalDataLayerTag> orderedLayerTags()
-
getFromClass
public static ExternalDataLayerTag getFromClass(Class<? extends ExternalDataLayer> cl)
-
-