|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Synset.IWordBuilder
A word builder used to construct word objects inside of the synset object constructor.
Method Summary | |
---|---|
void |
addRelatedWord(IPointer type,
IWordID id)
Adds a pointer from this word to another word with the specified id. |
void |
addVerbFrame(IVerbFrame frame)
Adds the specified verb frame to this word. |
IWord |
toWord(ISynset synset)
Creates the word represented by this builder. |
Method Detail |
---|
IWord toWord(ISynset synset)
synset
- the synset to which this word should be attached
void addVerbFrame(IVerbFrame frame)
frame
- the frame to be added, may not be null
java.lang.NullPointerException
- if the specified frame is null
void addRelatedWord(IPointer type, IWordID id)
type
- the pointer type, may not be null
id
- the word id, may not be null
java.lang.NullPointerException
- if either argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |