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