Class AttributeList.AttributeEntry
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.common.AttributeList.AttributeEntry
-
- Enclosing class:
- AttributeList
public static class AttributeList.AttributeEntry extends java.lang.ObjectA name/value pair of the attribute list.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Compares this attribute entry for equality with an other object.java.lang.StringgetName()Returns the attribute name.java.lang.StringgetNamespace()Returns the attribute namespace (which can be null).java.lang.StringgetValue()Returns the value of this attribute entry.inthashCode()Computes a hashcode for this attribute entry.
-
-
-
Constructor Detail
-
AttributeEntry
public AttributeEntry(java.lang.String namespace, java.lang.String name, java.lang.String value)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 Detail
-
getName
public java.lang.String getName()
Returns the attribute name.- Returns:
- the name.
-
getValue
public java.lang.String getValue()
Returns the value of this attribute entry.- Returns:
- the value of the entry.
-
getNamespace
public java.lang.String getNamespace()
Returns the attribute namespace (which can be null).- Returns:
- the namespace.
-
equals
public boolean equals(java.lang.Object o)
Compares this attribute entry for equality with an other object.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- the other object.- Returns:
- true, if this object is equal, false otherwise.
-
hashCode
public int hashCode()
Computes a hashcode for this attribute entry.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the attribute entry's hashcode.
-
-