Class InheritedStyleEntry


  • public class InheritedStyleEntry
    extends java.lang.Object
    Inherited CSS rule collection from ancestor node.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<CSSStyle> getInlineStyle()
      The ancestor node's inline style, if any, in the style inheritance chain.
      java.util.List<RuleMatch> getMatchedCSSRules()
      Matches of CSS rules matching the ancestor node in the style inheritance chain.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InheritedStyleEntry

        public InheritedStyleEntry​(java.util.Optional<CSSStyle> inlineStyle,
                                   java.util.List<RuleMatch> matchedCSSRules)
    • Method Detail

      • getInlineStyle

        public java.util.Optional<CSSStyle> getInlineStyle()
        The ancestor node's inline style, if any, in the style inheritance chain.
      • getMatchedCSSRules

        public java.util.List<RuleMatch> getMatchedCSSRules()
        Matches of CSS rules matching the ancestor node in the style inheritance chain.