StyleRuleMatcher
public class SimpleStyleRuleMatcher extends java.lang.Object implements StyleRuleMatcher
Constructor | Description |
---|---|
SimpleStyleRuleMatcher() |
Modifier and Type | Method | 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 StyleRuleMatcher
public boolean isMatchingPseudoElement(LayoutElement element, java.lang.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