|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objects that impliment the Extensible interface are saying they
have meta-data attached in the form of key, value object pairs. By
application specific use of meta data you can achieve a lot without having
to further extend the object.
| Method Summary | |
void |
addMetaData(String key,
String metadata)
Add a piece of MetaData to this object. |
Map |
getMetaData()
Get the Map of MetaData about this text. |
Object |
getMetaData(Object key)
returns the metadata for the particular key. |
void |
removeMetaData(String key)
Remove a piece of MetaData from this object. |
void |
setMetaData(Map metadata)
Set this objects's MetaData Map. |
| Method Detail |
public Map getMetaData()
public Object getMetaData(Object key)
key - The key to the bit of meta data you want.
public void setMetaData(Map metadata)
metadata - The Map of meta data for this object.
public void addMetaData(String key,
String metadata)
key - The key under which to file the meta data.metadata - The meta data to add.public void removeMetaData(String key)
key - The MetaData key to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||