|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.feed.opml.Attribute
public class Attribute
This is a simple name-value pair attribute for outlines.
Constructor Summary | |
---|---|
Attribute()
Creates a new instance of Attribute |
|
Attribute(String name,
String value)
Creates a new instance of Attribute. |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getName()
name of the attribute. |
String |
getValue()
value of the attribute. |
int |
hashCode()
|
void |
setName(String name)
name of the attribute. |
void |
setValue(String value)
value of the attribute. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
public Attribute(String name, String value)
name
- name of the attribute.value
- value of the attribute.Method Detail |
---|
public void setName(String name)
name
- name of the attribute.public String getName()
public void setValue(String value)
value
- value of the attribute.public String getValue()
public Object clone()
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |