|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.jverbnet.data.Frame
public class Frame
Default implementation of the IFrame interface.
| Nested Class Summary | |
|---|---|
static class |
Frame.FrameBuilder
Default implementation of the frame builder interface. |
| Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.IFrame |
|---|
IFrame.IFrameBuilder |
| Constructor Summary | |
|---|---|
Frame(IVerbClass parent,
java.lang.String descNum,
FrameType firstType,
FrameType secondType,
java.lang.String xTag,
java.util.List<java.lang.String> examples,
ISyntaxDesc syntaxDesc,
ISemanticDesc semDesc)
Creates a new frame with the specified parameters |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescriptionNumber()
Returns the description number of the frame. |
java.util.List<java.lang.String> |
getExamples()
Returns a list of examples for this frame. |
FrameType |
getPrimaryType()
Returns the primary type for this frame. |
FrameType |
getSecondaryType()
Returns the secondary type for this frame. |
ISemanticDesc |
getSemantics()
Returns the semantic descriptor for this frame. |
ISyntaxDesc |
getSyntax()
Returns the syntactic descriptor for this frame. |
IVerbClass |
getVerbClass()
Returns the verb class to which this frame belongs |
java.lang.String |
getXTag()
Returns the xtag for this frame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Frame(IVerbClass parent,
java.lang.String descNum,
FrameType firstType,
FrameType secondType,
java.lang.String xTag,
java.util.List<java.lang.String> examples,
ISyntaxDesc syntaxDesc,
ISemanticDesc semDesc)
parent - the parent of this frame; may not be nulldescNum - the description number; may be nullfirstType - the primary type; may not be nullsecondType - the secondary type; may be nullxTag - the xtag; may be nullexamples - the examples for the frame; may be null or emptysyntaxDesc - the syntactic descriptor; may be nullsemDesc - the semantic descriptor; may not be null| Method Detail |
|---|
public IVerbClass getVerbClass()
IFrame
getVerbClass in interface IFramepublic java.lang.String getDescriptionNumber()
IFramenull.
getDescriptionNumber in interface IFramenullpublic FrameType getPrimaryType()
IFramenull.
getPrimaryType in interface IFramenull primary type for this framepublic FrameType getSecondaryType()
IFramenull.
getSecondaryType in interface IFramepublic java.lang.String getXTag()
IFramenull.
getXTag in interface IFramenullpublic java.util.List<java.lang.String> getExamples()
IFramenull.
getExamples in interface IFramenull, possibly empty list of examples for
this framepublic ISyntaxDesc getSyntax()
IFramenull.
getSyntax in interface IFramenull syntactic descriptor for this frame.public ISemanticDesc getSemantics()
IFramenull.
getSemantics in interface IFramenull semantic descriptor for this frame.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||