|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributesInterface
Method Summary | |
---|---|
void |
addAttribute(java.lang.String key,
java.lang.Object value)
Add an attribute with the given name and value |
void |
addAttributes(java.util.Map attributeMap)
Add a number of attributes - names and values are given in the map |
void |
deleteAttribute(java.lang.String key)
Delete a specific attribute |
void |
deleteAttributes(java.util.List attributes)
Delete a list of attriubtes |
java.lang.String |
getAttribute(java.lang.String key)
Get the value of the attribute with the given key/name |
java.util.Map |
getAttributes()
Get a list of all the attributes |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Set the value of an attribute to the given value |
void |
setAttributes(java.util.Map attributeMap)
Set a number of attributes - names and values are given in the map |
Method Detail |
---|
java.lang.String getAttribute(java.lang.String key)
key
- The name of the attribute/property
java.util.Map getAttributes()
void setAttribute(java.lang.String key, java.lang.Object value)
key
- The key/name for this attributevalue
- The value of this attribute, generally a Stringvoid addAttribute(java.lang.String key, java.lang.Object value)
key
- The key/name for this attributevalue
- The value of this attribute, generally a Stringvoid deleteAttribute(java.lang.String key)
key
- The name of the attribute to deletevoid setAttributes(java.util.Map attributeMap)
attributeMap
- Map containing the name/value pairs to setvoid addAttributes(java.util.Map attributeMap)
attributeMap
- Map containing the name/value pairs to addvoid deleteAttributes(java.util.List attributes)
attributes
- A list of attribute names to delete
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |