Constructor and Description |
---|
Attr(String name,
String value)
Constructs a new attribute.
|
Modifier and Type | Method and Description |
---|---|
String |
name()
Returns the name of this attribute.
|
void |
setName(String name)
Sets the name of this attribute.
|
void |
setValue(String value)
Sets the value of this attribute.
|
String |
value()
Returns the value of this attribute.
|
public String name()
public void setName(String name)
name
- the name of this attributepublic String value()
public void setValue(String value)
value
- the value of this attributeCopyright © 2002 – 2020 Project Wonder.