public class CssPageMarginBoxSelector extends Object implements ICssSelector
ICssSelector implementation for CSS page margin box selectors.| Constructor and Description |
|---|
CssPageMarginBoxSelector(String pageMarginBoxName,
ICssSelector pageSelector)
Creates a new
CssPageMarginBoxSelector instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateSpecificity()
Calculates the specificity.
|
boolean |
matches(INode node)
Checks if a node matches the selector.
|
public CssPageMarginBoxSelector(String pageMarginBoxName, ICssSelector pageSelector)
CssPageMarginBoxSelector instance.pageMarginBoxName - the page margin box namepageSelector - the page selectorpublic int calculateSpecificity()
ICssSelectorcalculateSpecificity in interface ICssSelectorpublic boolean matches(INode node)
ICssSelectormatches in interface ICssSelectornode - the nodeCopyright © 1998–2024 Apryse Group NV. All rights reserved.