Package org.xhtmlrenderer.css.newmatch
Class Matcher.Mapper
java.lang.Object
org.xhtmlrenderer.css.newmatch.Matcher.Mapper
- Enclosing class:
Matcher
Mapper represents a local CSS for a Node that is used to match the Node's
children.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) CascadedStyle
@Nullable CascadedStyle
getPECascadedStyle
(String pseudoElement) May return null.(package private) Matcher.Mapper
Side effect: creates and stores a Mapper for the element
-
Field Details
-
axes
-
pseudoSelectors
-
mappedSelectors
-
children
-
-
Constructor Details
-
Mapper
Mapper(Collection<Selector> selectors) -
Mapper
-
-
Method Details
-
mapChild
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
-
getPECascadedStyle
May return null. We assume that restyle has already been done by a getCascadedStyle if necessary.
-