|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.linguistic.components.Fragment
A concrete subclass of Clause that represents a command without a verb. Fragments entered by the user are either:
FragmentResolver
Constructor Summary | |
Fragment()
Create a new Fragment class. |
Method Summary | |
void |
addPrepositionalPhrase(PrepositionalPhrase phrase)
Adds a PrepositionalPhrase to this fragment. |
AdjectiveClass |
getAdjective()
Returns the AdjectiveClass for this Fragment. |
Noun |
getNoun()
Returns the Noun class for this Fragment. |
java.util.Iterator |
getPrepositionalPhrases()
Returns an Iterator over all of the PrepositionalPhrases contained in this Fragment. |
void |
setAdjective(AdjectiveClass adj)
Sets the Adjective for this fragment. |
void |
setNoun(Noun noun)
Sets the Noun for this fragment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Fragment()
Method Detail |
public void setNoun(Noun noun)
noun
- Noun for this fragment.public void setAdjective(AdjectiveClass adj)
adj
- Adjective for this fragment.public void addPrepositionalPhrase(PrepositionalPhrase phrase)
phrase
- PrepositionalPhrase to add.public Noun getNoun()
public AdjectiveClass getAdjective()
public java.util.Iterator getPrepositionalPhrases()
PrepositionalPhrase
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |