public class CssSeparatorSelectorItem extends Object implements ICssSelectorItem
ICssSelectorItem
implementation for separator selectors.
Constructor and Description |
---|
CssSeparatorSelectorItem(char separator)
Creates a new CssSeparatorSelectorItem instance.
|
Modifier and Type | Method and Description |
---|---|
char |
getSeparator()
Gets the separator character.
|
int |
getSpecificity()
Gets the specificity.
|
boolean |
matches(INode node)
Checks if the selector matches an element.
|
String |
toString() |
public CssSeparatorSelectorItem(char separator)
CssSeparatorSelectorItem
instance.
separator
- the separator character
public int getSpecificity()
ICssSelectorItem
getSpecificity
in interface ICssSelectorItem
public boolean matches(INode node)
ICssSelectorItem
matches
in interface ICssSelectorItem
node
- the element
public char getSeparator()
Copyright © 1998–2020 iText Group NV. All rights reserved.