org.displaytag.util
Class HtmlAttributeMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.displaytag.util.HtmlAttributeMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class HtmlAttributeMap
extends java.util.HashMap

Extends Map providing only a different toString() method which can be used in printing attributes inside an html tag.

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
Fabrizio Giustina
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
HtmlAttributeMap()
           
 
Method Summary
 java.lang.String toString()
          toString method: returns attributes in the format: attributename="attributevalue" attr2="attrValue2" ...
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

HtmlAttributeMap

public HtmlAttributeMap()
Method Detail

toString

public java.lang.String toString()
toString method: returns attributes in the format: attributename="attributevalue" attr2="attrValue2" ...

Overrides:
toString in class java.util.AbstractMap
Returns:
String representation of the HtmlAttributeMap


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