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 name
pageSelector - the page selector
public int calculateSpecificity()
ICssSelector
calculateSpecificity in interface ICssSelector
public boolean matches(INode node)
ICssSelector
matches in interface ICssSelector
node - the node
Copyright © 1998–2019 iText Group NV. All rights reserved.