public class CSSDescendantSelector extends AbstractSelector
Constructor and Description |
---|
CSSDescendantSelector(SimpleSelector simpleSelector,
Selector anchestorSelector,
boolean childRelation) |
Modifier and Type | Method and Description |
---|---|
protected SelectorWeight |
createWeight() |
Selector |
getAncestorSelector()
Returns the parent selector.
|
short |
getSelectorType()
An integer indicating the type of
Selector |
SimpleSelector |
getSimpleSelector() |
getWeight
public CSSDescendantSelector(SimpleSelector simpleSelector, Selector anchestorSelector, boolean childRelation)
public Selector getAncestorSelector()
protected SelectorWeight createWeight()
createWeight
in class AbstractSelector
public SimpleSelector getSimpleSelector()
public short getSelectorType()
Selector