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>
public enum TextSpanType
- extends Enum<TextSpanType>
|
Method Summary |
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. |
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
values
public static TextSpanType[] 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 (TextSpanType c : TextSpanType.values())
System.out.println(c);
- 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 name
NullPointerException - if the argument is null
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.