Class AttributeList.AttributeEntry
java.lang.Object
org.pentaho.reporting.libraries.xmlns.common.AttributeList.AttributeEntry
- Enclosing class:
AttributeList
A name/value pair of the attribute list.
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeEntry(String namespace, String name, String value) Creates a new attribute entry for the given name and value. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this attribute entry for equality with an other object.getName()Returns the attribute name.Returns the attribute namespace (which can be null).getValue()Returns the value of this attribute entry.inthashCode()Computes a hashcode for this attribute entry.
-
Constructor Details
-
AttributeEntry
Creates a new attribute entry for the given name and value.- Parameters:
namespace- the namespace of the attribute.name- the attribute name (nullnot permitted).value- the attribute value (nullnot permitted).
-
-
Method Details
-
getName
Returns the attribute name.- Returns:
- the name.
-
getValue
Returns the value of this attribute entry.- Returns:
- the value of the entry.
-
getNamespace
Returns the attribute namespace (which can be null).- Returns:
- the namespace.
-
equals
Compares this attribute entry for equality with an other object. -
hashCode
public int hashCode()Computes a hashcode for this attribute entry.
-