@MustImplementEqualsAndHashcode public interface ICSSTopLevelRule extends ICSSWriteable
Marker interface for all top level CSS elements that can occur in any order
CSSFontFaceRuleCSSKeyframesRuleCSSMediaRuleCSSPageRuleCSSStyleRuleCSSSupportsRuleCSSUnknownRuleCSSViewportRule
To easily iterate over all rules contained in a CascadingStyleSheet
you can use the
CSSVisitor.visitCSS(CascadingStyleSheet, com.helger.css.decl.visit.ICSSVisitor)
method. An empty stub implementation of
ICSSVisitor is the class
DefaultCSSVisitor which is a good basis for
your own implementations.
getAsCSSString, getAsCSSString, getAsCSSStringCopyright © 2014–2022 Philip Helger. All rights reserved.