com.itextpdf.text.html.simpleparser
Class StyleSheet

java.lang.Object
  extended by com.itextpdf.text.html.simpleparser.StyleSheet

public class StyleSheet
extends Object


Field Summary
 HashMap<String,HashMap<String,String>> classMap
           
 HashMap<String,HashMap<String,String>> tagMap
           
 
Constructor Summary
StyleSheet()
          Creates a new instance of StyleSheet
 
Method Summary
 void applyStyle(String tag, HashMap<String,String> props)
           
 void loadStyle(String style, HashMap<String,String> props)
           
 void loadStyle(String style, String key, String value)
           
 void loadTagStyle(String tag, HashMap<String,String> props)
           
 void loadTagStyle(String tag, String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classMap

public HashMap<String,HashMap<String,String>> classMap

tagMap

public HashMap<String,HashMap<String,String>> tagMap
Constructor Detail

StyleSheet

public StyleSheet()
Creates a new instance of StyleSheet

Method Detail

applyStyle

public void applyStyle(String tag,
                       HashMap<String,String> props)

loadStyle

public void loadStyle(String style,
                      HashMap<String,String> props)

loadStyle

public void loadStyle(String style,
                      String key,
                      String value)

loadTagStyle

public void loadTagStyle(String tag,
                         HashMap<String,String> props)

loadTagStyle

public void loadTagStyle(String tag,
                         String key,
                         String value)

Hosted by Hostbasket