public interface CssFile
Modifier and Type | Method and Description |
---|---|
boolean |
add(String selector, Map<String,String> props)
Add CSS to this CssFile.
|
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.
|
boolean add(String selector, Map<String,String> props)
selector
- the CSS selector
props
- the properties for the given selector
List<CssRule> get(Tag t)
t
- the tag for searching rules
boolean isPersistent()
void isPersistent(boolean b)
b
- true if this file should be kept.
Copyright © 1998–2018. All rights reserved.