|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArgTypeEvent>
edu.mit.jverbnet.data.semantics.ArgTypeEvent
public enum ArgTypeEvent
The subtypes of event argument type. The values in this enum correspond to the elements of <xsd:simpleType name="argEventType"> in the Verbnet xsd file.
Enum Constant Summary | |
---|---|
duringE
|
|
duringE0
|
|
duringE1
|
|
E
|
|
E0
|
|
E1
|
|
endE
|
|
endE0
|
|
endE1
|
|
resultE
|
|
resultE0
|
|
resultE1
|
|
startE
|
|
startE0
|
|
startE1
|
Field Summary | |
---|---|
static java.lang.String |
XSD_TYPE_NAME
The name of the xsd:simpleType entry that describes this verbnet type in the XSD file. |
Fields inherited from interface edu.mit.jverbnet.data.IVerbnetType |
---|
FIELD_NAME_XSD_TYPE_NAME, METHOD_NAME_getById |
Method Summary | |
---|---|
ArgType |
getArgType()
Returns the argument type of which this type is the subtype. |
static ArgTypeEvent |
getById(java.lang.String id)
Returns the object corresponding to the specified xsd name. |
java.lang.String |
getID()
Returns the id of the type, as defined in the xsd file. |
java.lang.String |
toString()
|
static ArgTypeEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArgTypeEvent[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArgTypeEvent E
public static final ArgTypeEvent E0
public static final ArgTypeEvent E1
public static final ArgTypeEvent duringE
public static final ArgTypeEvent duringE0
public static final ArgTypeEvent duringE1
public static final ArgTypeEvent endE
public static final ArgTypeEvent endE0
public static final ArgTypeEvent endE1
public static final ArgTypeEvent resultE
public static final ArgTypeEvent resultE0
public static final ArgTypeEvent resultE1
public static final ArgTypeEvent startE
public static final ArgTypeEvent startE0
public static final ArgTypeEvent startE1
Field Detail |
---|
public static final java.lang.String XSD_TYPE_NAME
Method Detail |
---|
public static ArgTypeEvent[] values()
for (ArgTypeEvent c : ArgTypeEvent.values()) System.out.println(c);
public static ArgTypeEvent 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getID()
IHasID
null
or empty.
getID
in interface IHasID
public ArgType getArgType()
ISemanticArgType
null
.
getArgType
in interface ISemanticArgType
null
argument type of which this type is a
specializationpublic static ArgTypeEvent getById(java.lang.String id)
VerbnetTypes.isPrintingIdWarnings()
flag is set, the method
will print a warning to standard out if there is no value with the
specified id, or if the specified id is not exactly identical to the
value's id (i.e., differs in case).
id
- the id of the type value as found in the xsd file and in the
xml data files.
null
if none
java.lang.NullPointerException
- if the id is null
java.lang.IllegalArgumentException
- if the id is empty or all whitespacepublic java.lang.String toString()
toString
in class java.lang.Enum<ArgTypeEvent>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |