Class CssPageSelector
- java.lang.Object
-
- com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
-
- com.itextpdf.styledxmlparser.css.selector.CssPageSelector
-
- All Implemented Interfaces:
ICssSelector
public class CssPageSelector extends AbstractCssSelector
ICssSelectorimplementation for CSS page selectors.
-
-
Field Summary
-
Fields inherited from class com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
selectorItems
-
-
Constructor Summary
Constructors Constructor Description CssPageSelector(java.lang.String pageSelectorStr)Creates a newCssPageSelectorinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(INode node)Checks if a node matches the selector.-
Methods inherited from class com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
calculateSpecificity, getSelectorItems, toString
-
-
-
-
Constructor Detail
-
CssPageSelector
public CssPageSelector(java.lang.String pageSelectorStr)
Creates a newCssPageSelectorinstance.- Parameters:
pageSelectorStr- the page selector
-
-
Method Detail
-
matches
public boolean matches(INode node)
Description copied from interface:ICssSelectorChecks if a node matches the selector.- Parameters:
node- the node- Returns:
- true, if the selector is a match for the node
-
-