Package eu.clarin.weblicht.wlfxb.tc.api
Enum TextSpanType
- java.lang.Object
-
- java.lang.Enum<TextSpanType>
-
- eu.clarin.weblicht.wlfxb.tc.api.TextSpanType
-
- All Implemented Interfaces:
Serializable
,Comparable<TextSpanType>
,java.lang.constant.Constable
public enum TextSpanType extends Enum<TextSpanType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static TextSpanType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextSpanType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
page
public static final TextSpanType page
-
line
public static final TextSpanType line
-
paragraph
public static final TextSpanType paragraph
-
chapter
public static final TextSpanType chapter
-
title
public static final TextSpanType title
-
article
public static final TextSpanType article
-
note
public static final TextSpanType note
-
footnote
public static final TextSpanType footnote
-
reference
public static final TextSpanType reference
-
citation
public static final TextSpanType citation
-
other
public static final TextSpanType other
-
-
Method Detail
-
values
public static TextSpanType[] 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 TextSpanType 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
-
-