Class CssRule
java.lang.Object
io.john.amiscaray.stir.domain.elements.CssRule
public class CssRule extends Object
A pojo representing a CSS rule
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCssRule.CssRuleBuilder -
Field Summary
Fields Modifier and Type Field Description private List<CssRule>nestedRulesA list of nested CSS rules (used for things like media queries and CSS animations which have nested structures)private StringselectorThe CSS selector for the ruleprivate Map<String,String>stylesA map representing the property and value of each CSS style -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static CssRule.CssRuleBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<CssRule>getNestedRules()StringgetSelector()Map<String,String>getStyles()inthashCode()voidsetNestedRules(List<CssRule> nestedRules)voidsetStyles(Map<String,String> styles)StringtoString()
-
Field Details
-
selector
The CSS selector for the rule -
styles
A map representing the property and value of each CSS style -
nestedRules
A list of nested CSS rules (used for things like media queries and CSS animations which have nested structures)
-
-
Constructor Details
-
CssRule
-
-
Method Details