|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for name value pairs to be associated with some base object.
Attribute
,
StructuredDocument
,
Element
Method Summary | |
String |
addAttribute(Attribute newAttrib)
Adds an attribute with the given name and value. |
String |
addAttribute(String name,
String value)
Adds an attribute with the given name and value. |
Attribute |
getAttribute(String name)
Returns a single attribute which matches the name provided. |
Enumeration |
getAttributes()
Returns an enumerations of the attributes assosicated with this object. |
Method Detail |
public String addAttribute(String name, String value)
name
- name of the attribute.value
- value for the attribute.
public String addAttribute(Attribute newAttrib)
newAttrib
- new attribute.
public Enumeration getAttributes()
public Attribute getAttribute(String name)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |