public interface CssRule
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(CssDeclaration declaraion)
Add a single CSS Declaration
|
java.util.Set<CssDeclaration> |
getDeclarations()
Get CSS Declarations as a Set
|
java.lang.String |
getSelector()
Get the CSS Selector
|
void |
setDeclarations(java.util.Set<CssDeclaration> declarations)
Set all CSS Declarations from a Set
|
void |
setSelector(java.lang.String selector)
Set the CSS Selector
|
java.lang.String |
toCss()
Get the Rule as a CSS string.
|
java.lang.String getSelector()
void setSelector(java.lang.String selector)
java.util.Set<CssDeclaration> getDeclarations()
void setDeclarations(java.util.Set<CssDeclaration> declarations)
void addDeclaration(CssDeclaration declaraion)
java.lang.String toCss()