|
||||||||||
| 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 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.public void setDescriptionNumber(java.lang.String descNum)
IFrame.IFrameBuilder
setDescriptionNumber in interface IFrame.IFrameBuilderdescNum - the description numberpublic void setPrimaryType(FrameType type)
IFrame.IFrameBuilder
setPrimaryType in interface IFrame.IFrameBuildertype - the primary typepublic void setSecondaryType(FrameType type)
IFrame.IFrameBuilder
setSecondaryType in interface IFrame.IFrameBuildertype - the secondary typepublic void setXTag(java.lang.String xTag)
IFrame.IFrameBuilder
setXTag in interface IFrame.IFrameBuilderxTag - the xtagpublic void setSyntax(ISyntaxDesc syntax)
IFrame.IFrameBuilder
setSyntax in interface IFrame.IFrameBuildersyntax - the syntactic descriptor.public void setSemantics(ISemanticDesc semantics)
IFrame.IFrameBuilder
setSemantics in interface IFrame.IFrameBuildersemantics - the semantic descriptorpublic Frame create(IVerbClass parent)
IFrame.IFrameBuilder
create in interface IFrame.IFrameBuilderparent - the parent of the frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||