com.mebigfatguy.tomailer
Class CssItem

java.lang.Object
  extended by com.mebigfatguy.tomailer.CssItem

public class CssItem
extends java.lang.Object

represents a one css item, consisting of a css selector and rules for that selector


Constructor Summary
CssItem(java.lang.String cssSelector, java.lang.String[] cssStyle)
          constructs a CssItem consisting of one selector and an array of styles
 
Method Summary
 java.lang.String getSelector()
          get the selector for this item
 java.lang.String[] getStyles()
          get the array of styles for this item
 java.lang.String toString()
          creates a human readable string of this item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CssItem

public CssItem(java.lang.String cssSelector,
               java.lang.String[] cssStyle)
constructs a CssItem consisting of one selector and an array of styles

Parameters:
cssSelector - the selector
cssStyle - and array of styles;
Method Detail

getSelector

public java.lang.String getSelector()
get the selector for this item

Returns:
the selector

getStyles

public java.lang.String[] getStyles()
get the array of styles for this item

Returns:
the styles

toString

public java.lang.String toString()
creates a human readable string of this item

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this item


Copyright © 2009 MeBigFatGuy.com. All Rights Reserved.