public class CssPageTypeSelectorItem extends Object implements ICssSelectorItem
ICssSelectorItem
implementation for page type selectors.
Constructor and Description |
---|
CssPageTypeSelectorItem(String pageTypeName)
Creates a new CssPageTypeSelectorItem instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getSpecificity()
Gets the specificity.
|
boolean |
matches(INode node)
Checks if the selector matches an element.
|
public CssPageTypeSelectorItem(String pageTypeName)
CssPageTypeSelectorItem
instance.
pageTypeName
- the page type name
public int getSpecificity()
ICssSelectorItem
getSpecificity
in interface ICssSelectorItem
public boolean matches(INode node)
ICssSelectorItem
matches
in interface ICssSelectorItem
node
- the element
Copyright © 1998–2023 iText Group NV. All rights reserved.