Class AbstractCssSelector
java.lang.Object
com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
- All Implemented Interfaces:
-
ICssSelector
- Direct Known Subclasses:
-
CssPageSelector
,CssSelector
Abstract superclass for CSS Selectors.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractCssSelector
(List<ICssSelectorItem> selectorItems) Creates a newAbstractCssSelector
instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.styledxmlparser.css.selector.ICssSelector
matches
-
Field Details
-
selectorItems
The selector items.
-
-
Constructor Details
-
AbstractCssSelector
Creates a newAbstractCssSelector
instance.- Parameters:
-
selectorItems
- the selector items
-
-
Method Details
-
getSelectorItems
-
calculateSpecificity
public int calculateSpecificity()Description copied from interface:ICssSelector
Calculates the specificity.- Specified by:
-
calculateSpecificity
in interfaceICssSelector
- Returns:
- the specificity
-
toString
-