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 StyleRuleMatcher
public boolean isMatchingPseudoElement(LayoutElement element, String pseudo)
isMatchingPseudoElement
in interface StyleRuleMatcher
public StyleRuleMatcher deriveInstance()
deriveInstance
in interface StyleRuleMatcher
public CSSStyleRule[] getMatchingRules(LayoutElement element)
getMatchingRules
in interface StyleRuleMatcher
public CSSPageRule[] getPageRule(CSSValue pageName, PseudoPage[] pseudoPages)
getPageRule
in interface StyleRuleMatcher