|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.speech.freetts.ItemContents
Contains the information that is shared between multiple items.
Constructor Summary | |
ItemContents()
Class Constructor. |
Method Summary | |
void |
addItemRelation(java.lang.String relationName,
Item item)
Adds the given item to the set of relations. |
FeatureSet |
getFeatures()
Returns the feature set for this item contents. |
Item |
getItemRelation(java.lang.String relationName)
Given the name of a relation, returns the item the shares the same ItemContents. |
void |
removeItemRelation(java.lang.String relationName)
Removes the relation/item mapping from this ItemContents. |
void |
showRelations()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ItemContents()
Method Detail |
public void addItemRelation(java.lang.String relationName, Item item)
relationName
- the name of the relationitem
- the item reference in the relationpublic void removeItemRelation(java.lang.String relationName)
relationName
- the name of the relation/item to removepublic void showRelations()
public Item getItemRelation(java.lang.String relationName)
relationName
- the name of the relation of interest
public FeatureSet getFeatures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |