de.enough.polish.preprocess.css
Class AttributesGroup

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by de.enough.polish.preprocess.css.AttributesGroup
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class AttributesGroup
extends HashMap<String,String>

Contains CSS attributes within Style objects

Author:
Robert Virkus
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
AttributesGroup(AttributesGroup parentGroup)
           
AttributesGroup(Style parent, String groupName)
           
AttributesGroup(Style parent, String groupName, int size)
           
AttributesGroup(Style parent, String groupName, Map<String,String> attributes)
           
 
Method Summary
 String getGroupName()
           
 Style getStyle()
           
 String getValue(String key)
           
 void setStyle(Style parentStyle)
           
 String toString()
           
 
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

AttributesGroup

public AttributesGroup(AttributesGroup parentGroup)

AttributesGroup

public AttributesGroup(Style parent,
                       String groupName)

AttributesGroup

public AttributesGroup(Style parent,
                       String groupName,
                       Map<String,String> attributes)

AttributesGroup

public AttributesGroup(Style parent,
                       String groupName,
                       int size)
Method Detail

getValue

public String getValue(String key)

getStyle

public Style getStyle()

setStyle

public void setStyle(Style parentStyle)

getGroupName

public String getGroupName()

toString

public String toString()
Overrides:
toString in class AbstractMap<String,String>