CssFileImpl
, CSSFileWrapper
public interface CssFile
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.
|
boolean add(java.lang.String selector, java.util.Map<java.lang.String,java.lang.String> props)
selector
- the CSS selectorprops
- the properties for the given selectorjava.util.List<CssRule> get(Tag t)
t
- the tag for searching rulesboolean isPersistent()
void isPersistent(boolean b)
b
- true if this file should be kept.Copyright © 1998–2018. All rights reserved.