public class SimpleStyleRuleMatcher extends java.lang.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(LayoutProcess layoutProcess) |
boolean |
isMatchingPseudoElement(LayoutElement element,
java.lang.String pseudo) |
public void initialize(LayoutProcess layoutProcess)
initialize in interface StyleRuleMatcherpublic boolean isMatchingPseudoElement(LayoutElement element, java.lang.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