|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.data.Frame.FrameBuilder
public static class Frame.FrameBuilder
Default implementation of the frame builder interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.IFrame |
---|
IFrame.IFrameBuilder |
Constructor Summary | |
---|---|
Frame.FrameBuilder()
|
Method Summary | |
---|---|
Frame |
create(IVerbClass parent)
Creates a frame from the information contained in the builder. |
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. |
void |
setDescriptionNumber(java.lang.String descNum)
Sets the description number. |
void |
setPrimaryType(FrameType type)
Sets the primary type. |
void |
setSecondaryType(FrameType type)
Sets the secondary type. |
void |
setSemantics(ISemanticDesc semantics)
Sets the semantic descriptor. |
void |
setSyntax(ISyntaxDesc syntax)
Sets the syntactic descriptor. |
void |
setXTag(java.lang.String xTag)
Sets the xtag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Frame.FrameBuilder()
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.public void setDescriptionNumber(java.lang.String descNum)
IFrame.IFrameBuilder
setDescriptionNumber
in interface IFrame.IFrameBuilder
descNum
- the description numberpublic void setPrimaryType(FrameType type)
IFrame.IFrameBuilder
setPrimaryType
in interface IFrame.IFrameBuilder
type
- the primary typepublic void setSecondaryType(FrameType type)
IFrame.IFrameBuilder
setSecondaryType
in interface IFrame.IFrameBuilder
type
- the secondary typepublic void setXTag(java.lang.String xTag)
IFrame.IFrameBuilder
setXTag
in interface IFrame.IFrameBuilder
xTag
- the xtagpublic void setSyntax(ISyntaxDesc syntax)
IFrame.IFrameBuilder
setSyntax
in interface IFrame.IFrameBuilder
syntax
- the syntactic descriptor.public void setSemantics(ISemanticDesc semantics)
IFrame.IFrameBuilder
setSemantics
in interface IFrame.IFrameBuilder
semantics
- the semantic descriptorpublic Frame create(IVerbClass parent)
IFrame.IFrameBuilder
create
in interface IFrame.IFrameBuilder
parent
- the parent of the frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |