|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.data.semantics.ArgTypeConstant
public class ArgTypeConstant
The subtypes of constant argument type. The values in this enum correspond to the elements of <xsd:simpleType name="argConstantType"> in the Verbnet xsd file.
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 |
Constructor Summary | |
---|---|
protected |
ArgTypeConstant(java.lang.String id)
Constructor that creates a new frame type. |
Method Summary | |
---|---|
ArgType |
getArgType()
Returns the argument type of which this type is the subtype. |
static ArgTypeConstant |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XSD_TYPE_NAME
Constructor Detail |
---|
protected ArgTypeConstant(java.lang.String id)
id
- The id of the value
java.lang.NullPointerException
- if the id is null
java.lang.IllegalArgumentException
- if the id is empty or all whitespaceMethod Detail |
---|
public 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 ArgTypeConstant getById(java.lang.String id)
VerbnetTypes.isPrintingIdWarnings()
flag is set, the method
will print a warning to standard out if there is a value with the
specified id was created, or if the specified id is not exactly identical
to the returned 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.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |