public interface Preparator
| Modifier and Type | Method and Description |
|---|---|
RuleBlock.Priority |
markPriority()
Marks priority
|
RuleBlock<?> |
prepareInlineRuleSet(List<Declaration> dlist,
List<Selector.PseudoPage> pseudos)
Creates block of rules as result of parsing in-line declaration.
|
RuleBlock<?> |
prepareRuleFontFace(List<Declaration> decl)
Creates RuleFontFace, block of rules associated with specific font
|
RuleMargin |
prepareRuleMargin(String area,
List<Declaration> declarations)
Creates RuleMargin, block of declarations associated with specific area in the page margin.
|
RuleBlock<?> |
prepareRuleMedia(RuleBlock.Priority mark,
List<RuleSet> rules,
List<String> media)
Creates RuleMedia, block of rules with assigned medias.
|
RuleBlock<?> |
prepareRulePage(List<Declaration> declarations,
List<RuleMargin> marginRules,
String name,
String pseudo)
Creates RulePage, block of rules associated with specific page
|
RuleBlock<?> |
prepareRuleSet(List<CombinedSelector> cslist,
List<Declaration> dlist,
boolean wrap,
List<String> media)
Creates base block of rules.
|
RuleBlock<?> |
prepareRuleViewport(List<Declaration> decl)
Creates RuleViewport, block of rules associated with the viewport.
|
RuleBlock<?> prepareRuleSet(List<CombinedSelector> cslist, List<Declaration> dlist, boolean wrap, List<String> media)
true, then
RuleSet is wrapped by media into RuleMediacslist - List of CombinedSelector for this rule blockdlist - List of Declaration for this rule blockwrap - Wrap condition, it true, rule set is wrapped into rule mediamedia - List of medias used to wrapRuleBlock<?> prepareInlineRuleSet(List<Declaration> dlist, List<Selector.PseudoPage> pseudos)
dlist - List of Declarationpseudos - List of pseudo page identifiersRuleBlock<?> prepareRuleMedia(RuleBlock.Priority mark, List<RuleSet> rules, List<String> media)
mark - Priority markrules - Rules encapsulated by this RuleMediamedia - List of media assigned to ruleRuleBlock<?> prepareRulePage(List<Declaration> declarations, List<RuleMargin> marginRules, String name, String pseudo)
declarations - List of declarationsmarginRules - List of margin rulesname - Name of the pagepseudo - Pseudo-class of the pageRuleMargin prepareRuleMargin(String area, List<Declaration> declarations)
area - The margin areadeclarations - List of declarationsRuleBlock<?> prepareRuleViewport(List<Declaration> decl)
decl - List of declarationsRuleBlock<?> prepareRuleFontFace(List<Declaration> decl)
decl - List of declarationsRuleBlock.Priority markPriority()
Copyright © 2014. All rights reserved.