public class Attribute
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private AttributeType |
type
Attribute type.
|
private java.lang.String |
value
Attribute value.
|
| Constructor and Description |
|---|
Attribute(AttributeType type,
java.lang.String value)
Creates a new instance of the given type and value.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
getType() |
java.lang.String |
getValue() |
private final AttributeType type
private final java.lang.String value
public Attribute(AttributeType type, java.lang.String value)
type - Attribute type.value - Attribute value.public AttributeType getType()
public java.lang.String getValue()