public enum Person extends Enum<Person>
This is an enumeration used to represent the point of view of the narrative.
It covers first person, second person and third person. The person is
recorded in the Feature.PERSON feature and applies to clauses,
coordinated phrases, noun phrases and verb phrases.
| Enum Constant and Description |
|---|
FIRST
The enumeration to show that the narration is written in the first
person.
|
SECOND
The enumeration to show that the narration is written in the second
person.
|
THIRD
The enumeration to show that the narration is written in the third
person.
|
| Modifier and Type | Method and Description |
|---|---|
static Person |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Person[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Person FIRST
public static final Person SECOND
public static final Person THIRD
public static Person[] values()
for (Person c : Person.values()) System.out.println(c);
public static Person valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All Rights Reserved.