|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.tool.xml.css.CssFileImpl
public class CssFileImpl
Implementation of CssFile, the CSS is stored in a map.
| Constructor Summary | |
|---|---|
CssFileImpl()
Constructs a new CssFileImpl. |
|
| Method Summary | |
|---|---|
void |
add(String selector,
Map<String,String> props)
Add CSS to this CssFile. |
Map<String,String> |
get(String selector)
Return CSS for the given selector. |
boolean |
isPersistent()
|
void |
isPersistent(boolean isPeristent)
Indicates that this file should be kept. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CssFileImpl()
| Method Detail |
|---|
public void add(String selector,
Map<String,String> props)
CssFile
add in interface CssFileselector - the CSS selectorprops - the properties for the given selectorpublic Map<String,String> get(String selector)
CssFile
get in interface CssFileselector - the selector to look for
public boolean isPersistent()
isPersistent in interface CssFilepublic void isPersistent(boolean isPeristent)
isPersistent in interface CssFileisPeristent - set to true if this file should be kept.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||