public class SimpleStyleRuleMatcher extends Object implements StyleRuleMatcher
| Constructor and Description |
|---|
SimpleStyleRuleMatcher() |
| Modifier and Type | Method and Description |
|---|---|
StyleRuleMatcher |
deriveInstance()
Creates an independent copy of this style rule matcher.
|
CSSStyleRule[] |
getMatchingRules(LayoutElement element) |
CSSPageRule[] |
getPageRule(CSSValue pageName,
PseudoPage[] pseudoPages) |
void |
initialize(DocumentContext layoutProcess) |
boolean |
isMatchingPseudoElement(LayoutElement element,
String pseudo) |
public void initialize(DocumentContext layoutProcess)
initialize in interface StyleRuleMatcherpublic boolean isMatchingPseudoElement(LayoutElement element, String pseudo)
isMatchingPseudoElement in interface StyleRuleMatcherpublic StyleRuleMatcher deriveInstance()
deriveInstance in interface StyleRuleMatcherpublic CSSStyleRule[] getMatchingRules(LayoutElement element)
getMatchingRules in interface StyleRuleMatcherpublic CSSPageRule[] getPageRule(CSSValue pageName, PseudoPage[] pseudoPages)
getPageRule in interface StyleRuleMatcher