public enum CorefLevel extends java.lang.Enum<CorefLevel> implements de.ims.icarus.util.id.Identity
Enum Constant and Description |
---|
DOCUMENT |
EDGE |
ENVIRONMENT |
SENTENCE |
SPAN |
WORD |
Modifier and Type | Method and Description |
---|---|
static int |
dif(CorefLevel from,
CorefLevel to) |
CorefLevel |
down() |
abstract java.lang.String[] |
getAvailableProperties() |
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
java.lang.String |
getToken() |
static CorefLevel |
parseLevel(java.lang.String s) |
CorefLevel |
up() |
static CorefLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CorefLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorefLevel WORD
public static final CorefLevel SPAN
public static final CorefLevel EDGE
public static final CorefLevel SENTENCE
public static final CorefLevel DOCUMENT
public static final CorefLevel ENVIRONMENT
public static CorefLevel[] values()
for (CorefLevel c : CorefLevel.values()) System.out.println(c);
public static CorefLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static int dif(CorefLevel from, CorefLevel to)
public java.lang.String getToken()
public java.lang.String getKey()
public abstract java.lang.String[] getAvailableProperties()
public static CorefLevel parseLevel(java.lang.String s)
public CorefLevel up()
public CorefLevel down()
public java.lang.String getId()
getId
in interface de.ims.icarus.util.id.Identity
Identity.getId()
public java.lang.String getName()
getName
in interface de.ims.icarus.util.id.Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface de.ims.icarus.util.id.Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface de.ims.icarus.util.id.Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface de.ims.icarus.util.id.Identity
Identity.getOwner()