Package org.opencms.gwt.client.util
Class CmsDomUtil.AttributeValue
- java.lang.Object
-
- org.opencms.gwt.client.util.CmsDomUtil.AttributeValue
-
- Enclosing class:
- CmsDomUtil
public static class CmsDomUtil.AttributeValue extends java.lang.Object
Helper class to encapsulate an attribute/value pair.
-
-
Constructor Summary
Constructors Constructor Description AttributeValue(CmsDomUtil.Attribute attr)
Constructor.AttributeValue(CmsDomUtil.Attribute attr, java.lang.String value)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsDomUtil.Attribute
getAttr()
Returns the attribute.java.lang.String
getValue()
Returns the value.void
setValue(java.lang.String value)
Sets the value.java.lang.String
toString()
-
-
-
Constructor Detail
-
AttributeValue
public AttributeValue(CmsDomUtil.Attribute attr)
Constructor.- Parameters:
attr
- the attribute
-
AttributeValue
public AttributeValue(CmsDomUtil.Attribute attr, java.lang.String value)
Constructor.- Parameters:
attr
- the attributevalue
- the value
-
-
Method Detail
-
getAttr
public CmsDomUtil.Attribute getAttr()
Returns the attribute.- Returns:
- the attribute
-
getValue
public java.lang.String getValue()
Returns the value.- Returns:
- the value
-
setValue
public void setValue(java.lang.String value)
Sets the value.- Parameters:
value
- the value to set
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-