Package eu.clarin.sru.server.fcs.parser
Enum SimpleWithin.Scope
- java.lang.Object
-
- java.lang.Enum<SimpleWithin.Scope>
-
- eu.clarin.sru.server.fcs.parser.SimpleWithin.Scope
-
- All Implemented Interfaces:
Serializable
,Comparable<SimpleWithin.Scope>
- Enclosing class:
- SimpleWithin
public static enum SimpleWithin.Scope extends Enum<SimpleWithin.Scope>
The within scope.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleWithin.Scope
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimpleWithin.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SENTENCE
public static final SimpleWithin.Scope SENTENCE
sentence scope (small).
-
UTTERANCE
public static final SimpleWithin.Scope UTTERANCE
utterance scope (small).
-
PARAGRAPH
public static final SimpleWithin.Scope PARAGRAPH
paragraph scope (medium).
-
TURN
public static final SimpleWithin.Scope TURN
turn scope (medium).
-
TEXT
public static final SimpleWithin.Scope TEXT
text scope (large).
-
SESSION
public static final SimpleWithin.Scope SESSION
session scope (large).
-
-
Method Detail
-
values
public static SimpleWithin.Scope[] 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 (SimpleWithin.Scope c : SimpleWithin.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleWithin.Scope 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
-
-