public class Attribute extends Object
| Constructor and Description |
|---|
Attribute(String name,
String value)
Creates a new instance of Attribute
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Getter for property name.
|
String |
getValue()
Getter for property value.
|
void |
setName(String name)
Setter for property name.
|
void |
setValue(String value)
Setter for property value.
|
String |
toString()
Returns a String representation of this attribute.
|
public String getName()
public void setName(String name)
name - New value of property name.public String getValue()
public void setValue(String value)
value - New value of property value.Copyright © 2003-2013 sun. All Rights Reserved.