Package de.xima.fc.css.builder
Class CssRuleListBuilder
java.lang.Object
de.xima.fc.css.builder.CssRuleListBuilder
Simple builder for creating a CSS rule list
string, e.g.
.foo { color: red; }
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CssRuleListBuilder
public CssRuleListBuilder()
-
-
Method Details
-
build
- Returns:
- The string representing the CSS rule list.
-
rule
.foo { color: red; }
Adds a qualified rule to the list of rules.
- Parameters:
selector
- Selector to which the declarations apply.declarationList
- A list of declarations applied to all elements matching the selector.- Returns:
- This builder instance for chaining method calls.
- See Also:
-
toString
-