public class CssPagePseudoClassSelectorItem extends Object implements ICssSelectorItem
ICssSelectorItem
implementation for page pseudo classes selectors.
Constructor and Description |
---|
CssPagePseudoClassSelectorItem(String pagePseudoClass)
Creates a new CssPagePseudoClassSelectorItem instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getSpecificity()
Gets the specificity.
|
boolean |
matches(INode node)
Checks if the selector matches an element.
|
public CssPagePseudoClassSelectorItem(String pagePseudoClass)
CssPagePseudoClassSelectorItem
instance.
pagePseudoClass
- the page pseudo class name
public int getSpecificity()
ICssSelectorItem
getSpecificity
in interface ICssSelectorItem
public boolean matches(INode node)
ICssSelectorItem
matches
in interface ICssSelectorItem
node
- the element
Copyright © 1998–2019 iText Group NV. All rights reserved.