Class CssPageSelector
java.lang.Object
com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
com.itextpdf.styledxmlparser.css.selector.CssPageSelector
- All Implemented Interfaces:
-
ICssSelector
ICssSelector
implementation for CSS page selectors.
-
Field Summary
Fields inherited from class com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
selectorItems
-
Constructor Summary
ConstructorDescriptionCssPageSelector
(String pageSelectorStr) Creates a newCssPageSelector
instance. -
Method Summary
Methods inherited from class com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
calculateSpecificity, getSelectorItems, toString
-
Constructor Details
-
CssPageSelector
Creates a newCssPageSelector
instance.- Parameters:
-
pageSelectorStr
- the page selector
-
-
Method Details
-
matches
Description copied from interface:ICssSelector
Checks if a node matches the selector.- Parameters:
-
node
- the node - Returns:
- true, if the selector is a match for the node
-