|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertyContainer Interface
Method Summary | |
void |
addProperty(Object value,
String token)
Add a property associated with a token name. |
Object |
getObject(String token)
Retrieve a value by a particular token. |
String |
getProperty(String token)
Retrieve a value by a particular token. |
String[] |
getPropertyKeys()
Retrieve all property keys currently in use. |
void |
removeProperty(String token)
Remove a value associated with a particular token. |
Method Detail |
public void addProperty(Object value, String token)
value
- is an object that cannot be nulltoken
- is a key that can be used to retrieve the valuepublic String getProperty(String token)
token
- is a key that can be used to retrieve the value
public Object getObject(String token)
token
- is a key that can be used to retrieve the value
public String[] getPropertyKeys()
public void removeProperty(String token)
token
- is a key associated with a value that was added
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |