org.displaytag.util
Class MultipleHtmlAttribute

java.lang.Object
  extended by org.displaytag.util.MultipleHtmlAttribute
All Implemented Interfaces:
java.lang.Cloneable

public class MultipleHtmlAttribute
extends java.lang.Object
implements java.lang.Cloneable

Object used to contain html multiple attribute value (for the "class" attribute).

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
Fabrizio Giustina

Constructor Summary
MultipleHtmlAttribute(java.lang.String attributeValue)
          Constructor for MultipleHtmlAttribute.
 
Method Summary
 void addAttributeValue(java.lang.String attributeValue)
          Adds a value to the attribute.
protected  java.lang.Object clone()
           
 boolean isEmpty()
          Return true if this MultipleHtmlValue doesn't store any value.
 java.lang.String toString()
          Returns the list of attributes separated by a space.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleHtmlAttribute

public MultipleHtmlAttribute(java.lang.String attributeValue)
Constructor for MultipleHtmlAttribute.

Parameters:
attributeValue - String
Method Detail

toString

public java.lang.String toString()
Returns the list of attributes separated by a space.

Overrides:
toString in class java.lang.Object
Returns:
String

addAttributeValue

public void addAttributeValue(java.lang.String attributeValue)
Adds a value to the attribute.

Parameters:
attributeValue - value to add to the attribute

isEmpty

public boolean isEmpty()
Return true if this MultipleHtmlValue doesn't store any value.

Returns:
true if this MultipleHtmlValue doesn't store any value

clone

protected java.lang.Object clone()
Overrides:
clone in class java.lang.Object
See Also:
Object.clone()


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.