|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ISyntaxArgDesc.ISyntaxArgDescBuilder
Allows an immutable syntax argument to constructed piece by piece, and then instantiated with an argument to its parent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.syntax.ISyntaxArgDesc |
|---|
ISyntaxArgDesc.ISyntaxArgDescBuilder |
| Method Summary | |
|---|---|
ISyntaxArgDesc |
create(ISyntaxDesc parent)
Creates a syntax arg descriptor from the information contained in the builder. |
void |
setNounPhrasetype(INounPhraseType type)
Sets the noun phrase type of the argument. |
void |
setSelRestrictions(ISelRestrictions<? extends IRestrType> restrs)
Sets the selectional restrictions for this argument |
void |
setType(SyntaxArgType type)
Sets the type of the syntactic argument. |
void |
setValue(java.lang.String value)
Sets the value of the syntactic argument |
| Methods inherited from interface edu.mit.jverbnet.data.syntax.ISyntaxArgDesc |
|---|
getNounPhraseType, getParent, getSelRestrictions, getType, getValue |
| Method Detail |
|---|
void setType(SyntaxArgType type)
type - the type of the syntactic argumentvoid setValue(java.lang.String value)
value - the value of the syntactic argumentvoid setNounPhrasetype(INounPhraseType type)
null,
this argument also sets the type to SyntaxArgType.NP.
type - the noun phrase type of the argumentvoid setSelRestrictions(ISelRestrictions<? extends IRestrType> restrs)
restrs - the selectional restrictions for this argumentISyntaxArgDesc create(ISyntaxDesc parent)
parent - the parent of the descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||