Name

Attribute

Synopsis

Attributes are name/value pairs that are held within documents.

public class Attribute {
// Public Constructors
   public Attribute(String name, String value);  
   public Attribute(Attributable owner, String name, String value);
// Public Instance Methods
   public String getName();  
   public Attributable getOwner();  
   public String getValue();  
// Public Methods Overriding Object
   public boolean equals(Object target);  
   public int hashCode();  
// Protected Methods Overriding Object
   protected Object clone();  
}

Passed To

Attributable.addAttribute()

Returned By

Attributable.getAttribute()

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.