Class Matcher.Mapper

java.lang.Object
org.xhtmlrenderer.css.newmatch.Matcher.Mapper
Enclosing class:
Matcher

private class Matcher.Mapper extends Object
Mapper represents a local CSS for a Node that is used to match the Node's children.
  • Field Details

  • Constructor Details

  • Method Details

    • mapChild

      Matcher.Mapper mapChild(Node e)
      Side effect: creates and stores a Mapper for the element
      Returns:
      The selectors that matched, sorted according to specificity (more correct: preserves the sort order from Matcher creation)
    • getCascadedStyle

      CascadedStyle getCascadedStyle(Node e)
    • getPECascadedStyle

      public @Nullable CascadedStyle getPECascadedStyle(String pseudoElement)
      May return null. We assume that restyle has already been done by a getCascadedStyle if necessary.