public static class AttributeList.AttributeEntry
extends java.lang.Object
Constructor and Description |
---|
AttributeEntry(java.lang.String namespace,
java.lang.String name,
java.lang.String value)
Creates a new attribute entry for the given name and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this attribute entry for equality with an other object.
|
java.lang.String |
getName()
Returns the attribute name.
|
java.lang.String |
getNamespace()
Returns the attribute namespace (which can be null).
|
java.lang.String |
getValue()
Returns the value of this attribute entry.
|
int |
hashCode()
Computes a hashcode for this attribute entry.
|
public AttributeEntry(java.lang.String namespace, java.lang.String name, java.lang.String value)
namespace
- the namespace of the attribute.name
- the attribute name (null
not permitted).value
- the attribute value (null
not permitted).public java.lang.String getName()
public java.lang.String getValue()
public java.lang.String getNamespace()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other object.public int hashCode()
hashCode
in class java.lang.Object