org.deft.extension.decoration.style.container
Class CssClassStyleContainer

java.lang.Object
  extended by org.deft.extension.decoration.style.container.StyleContainer
      extended by org.deft.extension.decoration.style.container.CssClassStyleContainer

public class CssClassStyleContainer
extends StyleContainer

Holds CSS information for HTML class-attribute. css=[class]

Author:
Martin Heinzerling

Constructor Summary
CssClassStyleContainer()
           
CssClassStyleContainer(java.lang.String text)
           
 
Method Summary
 CssClassStyleContainer clone()
           
 void parse(java.lang.String text)
          Loads informations from a string to the Container.
 java.lang.String renderIdAttribute()
          Needed for the possibility of mixed StyleContainer.
 java.lang.String renderValueAttribute()
          Returns the string representation of its content for the value attribute of the XML representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssClassStyleContainer

public CssClassStyleContainer()

CssClassStyleContainer

public CssClassStyleContainer(java.lang.String text)
Method Detail

parse

public void parse(java.lang.String text)
Description copied from class: StyleContainer
Loads informations from a string to the Container.

Specified by:
parse in class StyleContainer
Parameters:
text - String

renderValueAttribute

public java.lang.String renderValueAttribute()
Description copied from class: StyleContainer
Returns the string representation of its content for the value attribute of the XML representation.

Specified by:
renderValueAttribute in class StyleContainer
Returns:
String

renderIdAttribute

public java.lang.String renderIdAttribute()
Description copied from class: StyleContainer
Needed for the possibility of mixed StyleContainer.

Specified by:
renderIdAttribute in class StyleContainer
Returns:
String id attribute for XML representation

clone

public CssClassStyleContainer clone()
Specified by:
clone in class StyleContainer