Package io.sf.carte.doc.style.css.util
Class AttrStyleRuleVisitor
java.lang.Object
io.sf.carte.doc.style.css.util.AttrStyleRuleVisitor
- All Implemented Interfaces:
io.sf.carte.util.Visitor<CSSStyleRule>
Visit style rules and apply an
AttributeConditionVisitor
.-
Constructor Summary
ConstructorDescriptionConstruct the rule visitor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(CSSStyleRule rule) Visit the given style rule and apply theAttributeConditionVisitor
to its selector list.
-
Constructor Details
-
AttrStyleRuleVisitor
Construct the rule visitor.- Parameters:
visitor
- the condition visitor.
-
-
Method Details
-
visit
Visit the given style rule and apply theAttributeConditionVisitor
to its selector list.- Specified by:
visit
in interfaceio.sf.carte.util.Visitor<CSSStyleRule>
- Parameters:
rule
- the style rule.
-