public class CSSConditionalSelector extends AbstractSelector
| Constructor and Description |
|---|
CSSConditionalSelector(SimpleSelector simpleSelector,
Condition condition) |
| Modifier and Type | Method and Description |
|---|---|
protected SelectorWeight |
createWeight() |
Condition |
getCondition()
Returns the condition to be applied on the simple selector.
|
short |
getSelectorType()
An integer indicating the type of
Selector |
SimpleSelector |
getSimpleSelector()
Returns the simple selector.
|
getWeightpublic CSSConditionalSelector(SimpleSelector simpleSelector,
Condition condition)
protected SelectorWeight createWeight()
createWeight in class AbstractSelectorpublic SimpleSelector getSimpleSelector()
The simple selector can't be a
ConditionalSelector.
public Condition getCondition()
public short getSelectorType()
Selector