edu.stanford.nlp.time
Enum SUTime.TimexAttr
java.lang.Object
java.lang.Enum<SUTime.TimexAttr>
edu.stanford.nlp.time.SUTime.TimexAttr
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SUTime.TimexAttr>
- Enclosing class:
- SUTime
public static enum SUTime.TimexAttr
- extends java.lang.Enum<SUTime.TimexAttr>
|
Method Summary |
static SUTime.TimexAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SUTime.TimexAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
type
public static final SUTime.TimexAttr type
value
public static final SUTime.TimexAttr value
tid
public static final SUTime.TimexAttr tid
beginPoint
public static final SUTime.TimexAttr beginPoint
endPoint
public static final SUTime.TimexAttr endPoint
quant
public static final SUTime.TimexAttr quant
freq
public static final SUTime.TimexAttr freq
mod
public static final SUTime.TimexAttr mod
anchorTimeID
public static final SUTime.TimexAttr anchorTimeID
comment
public static final SUTime.TimexAttr comment
valueFromFunction
public static final SUTime.TimexAttr valueFromFunction
temporalFunction
public static final SUTime.TimexAttr temporalFunction
functionInDocument
public static final SUTime.TimexAttr functionInDocument
values
public static SUTime.TimexAttr[] 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 (SUTime.TimexAttr c : SUTime.TimexAttr.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SUTime.TimexAttr valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Stanford NLP Group