Class AttributeList.AttributeEntry
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.common.AttributeList.AttributeEntry
-
- Enclosing class:
- AttributeList
public static class AttributeList.AttributeEntry extends Object
A name/value pair of the attribute list.
-
-
Constructor Summary
Constructors Constructor Description AttributeEntry(String namespace, String name, String value)
Creates a new attribute entry for the given name and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Compares this attribute entry for equality with an other object.String
getName()
Returns the attribute name.String
getNamespace()
Returns the attribute namespace (which can be null).String
getValue()
Returns the value of this attribute entry.int
hashCode()
Computes a hashcode for this attribute entry.protected void
update(String namespace, String name, String value)
-
-
-
Method Detail
-
getName
public String getName()
Returns the attribute name.- Returns:
- the name.
-
getValue
public String getValue()
Returns the value of this attribute entry.- Returns:
- the value of the entry.
-
getNamespace
public String getNamespace()
Returns the attribute namespace (which can be null).- Returns:
- the namespace.
-
equals
public boolean equals(Object o)
Compares this attribute entry for equality with an other object.
-
hashCode
public int hashCode()
Computes a hashcode for this attribute entry.
-
-