Package com.openhtmltopdf.css.newmatch
Class Matcher
java.lang.Object
com.openhtmltopdf.css.newmatch.Matcher
public class Matcher extends Object
- Author:
- Torbjoern Gannholm
-
Constructor Summary
Constructors Constructor Description Matcher(TreeResolver tr, AttributeResolver ar, StylesheetFactory factory, List<Stylesheet> stylesheets, String medium) -
Method Summary
Modifier and Type Method Description CascadedStylegetCascadedStyle(Object e, boolean restyle)List<FontFaceRule>getFontFaceRules()PageInfogetPageCascadedStyle(String pageName, String pseudoPage)CascadedStylegetPECascadedStyle(Object e, String pseudoElement)May return null.booleanisActiveStyled(Object e)booleanisFocusStyled(Object e)booleanisHoverStyled(Object e)booleanisVisitedStyled(Object e)protected com.openhtmltopdf.css.newmatch.Matcher.MappermatchElement(Object e)voidremoveStyle(Object e)
-
Constructor Details
-
Matcher
public Matcher(TreeResolver tr, AttributeResolver ar, StylesheetFactory factory, List<Stylesheet> stylesheets, String medium)
-
-
Method Details
-
removeStyle
-
getCascadedStyle
-
getPECascadedStyle
May return null. We assume that restyle has already been done by a getCascadedStyle if necessary. -
getPageCascadedStyle
-
getFontFaceRules
-
isVisitedStyled
-
isHoverStyled
-
isActiveStyled
-
isFocusStyled
-
matchElement
-