| Constructor | Description |
|---|---|
CSSFileWrapper(CssFile css,
boolean b) |
Constructs a CssFile that does not allow adding of new CSS (given you
don't mess with the CssFile provided on construction).
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(java.lang.String selector,
java.util.Map<java.lang.String,java.lang.String> props) |
Add CSS to this CssFile.
|
java.util.List<CssRule> |
get(Tag t) |
Return CSS declarations for the given tag.
|
boolean |
isPersistent() |
|
void |
isPersistent(boolean b) |
Indicates that this file should be kept.
|
public CSSFileWrapper(CssFile css, boolean b)
css - the css fileb - true if this file should be kept forever.public boolean add(java.lang.String selector,
java.util.Map<java.lang.String,java.lang.String> props)
CssFilepublic java.util.List<CssRule> get(Tag t)
CssFilepublic boolean isPersistent()
isPersistent in interface CssFilepublic void isPersistent(boolean b)
CssFileisPersistent in interface CssFileb - true if this file should be kept.Copyright © 1998–2018. All rights reserved.