public final class AnalyzerUtil extends Object
| Constructor and Description |
|---|
AnalyzerUtil() |
public static Analyzer.OrderedRule[] getApplicableRules(List<StyleSheet> sheets, Element element, MediaSpec mediaspec)
sheets - element - mediaspec - public static Analyzer.Holder getClassifiedRules(List<StyleSheet> sheets, MediaSpec mediaspec)
public static NodeData getElementStyle(Element el, Selector.PseudoDeclaration pseudo, ElementMatcher matcher, MatchCondition matchCond, Analyzer.OrderedRule[] applicableRules)
public static Analyzer.OrderedRule[] getApplicableRules(Element e, Analyzer.Holder holder, RuleSet[] elementRuleSets)
public static boolean hasPseudoSelector(Analyzer.OrderedRule[] rules, Element e, MatchCondition matchCond, Selector.PseudoDeclaration pd)
public static boolean hasPseudoSelectorForAncestor(Analyzer.OrderedRule[] rules, Element e, Element targetAncestor, ElementMatcher matcher, MatchCondition matchCond, Selector.PseudoDeclaration pd)
protected static boolean matchSelector(CombinedSelector sel, Element e, ElementMatcher matcher, MatchCondition matchCond)
Copyright © 2018. All rights reserved.