|
||||||||||
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 null
descNum
- the description number; may be null
firstType
- the primary type; may not be null
secondType
- the secondary type; may be nullxTag
- the xtag; may be null
examples
- the examples for the frame; may be null
or emptysyntaxDesc
- the syntactic descriptor; may be null
semDesc
- the semantic descriptor; may not be null
Method Detail |
---|
public IVerbClass getVerbClass()
IFrame
getVerbClass
in interface IFrame
public java.lang.String getDescriptionNumber()
IFrame
null
.
getDescriptionNumber
in interface IFrame
null
public FrameType getPrimaryType()
IFrame
null
.
getPrimaryType
in interface IFrame
null
primary type for this framepublic FrameType getSecondaryType()
IFrame
null
.
getSecondaryType
in interface IFrame
public java.lang.String getXTag()
IFrame
null
.
getXTag
in interface IFrame
null
public java.util.List<java.lang.String> getExamples()
IFrame
null
.
getExamples
in interface IFrame
null
, possibly empty list of examples for
this framepublic ISyntaxDesc getSyntax()
IFrame
null
.
getSyntax
in interface IFrame
null
syntactic descriptor for this frame.public ISemanticDesc getSemantics()
IFrame
null
.
getSemantics
in interface IFrame
null
semantic descriptor for this frame.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |