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.
|
getWeight
public CSSConditionalSelector(SimpleSelector simpleSelector, Condition condition)
protected SelectorWeight createWeight()
createWeight
in class AbstractSelector
public SimpleSelector getSimpleSelector()
The simple selector can't be a
ConditionalSelector
.
public Condition getCondition()
public short getSelectorType()
Selector