public abstract class AbstractCssSelector extends Object implements ICssSelector
Modifier and Type | Field and Description |
---|---|
protected List<ICssSelectorItem> |
selectorItems
The selector items.
|
Constructor and Description |
---|
AbstractCssSelector(List<ICssSelectorItem> selectorItems)
Creates a new AbstractCssSelector instance.
|
Modifier and Type | Method and Description |
---|---|
int |
calculateSpecificity()
Calculates the specificity.
|
List<ICssSelectorItem> |
getSelectorItems() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
matches
protected List<ICssSelectorItem> selectorItems
public AbstractCssSelector(List<ICssSelectorItem> selectorItems)
AbstractCssSelector
instance.
selectorItems
- the selector items
public List<ICssSelectorItem> getSelectorItems()
public int calculateSpecificity()
ICssSelector
calculateSpecificity
in interface ICssSelector
Copyright © 1998–2023 iText Group NV. All rights reserved.