Class DescendantSelector
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.selector.AbstractSelector
-
- org.htmlunit.cssparser.parser.selector.DescendantSelector
-
public class DescendantSelector extends AbstractSelector
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.selector.Selector
Selector.SelectorType
-
-
Field Summary
Fields Modifier and Type Field Description private Selector
ancestorSelector_
private SimpleSelector
simpleSelector_
-
Constructor Summary
Constructors Constructor Description DescendantSelector(Selector ancestorSelector, SimpleSelector simpleSelector)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selector
getAncestorSelector()
Selector.SelectorType
getSelectorType()
SimpleSelector
getSimpleSelector()
java.lang.String
toString()
-
Methods inherited from class org.htmlunit.cssparser.parser.selector.AbstractSelector
getSelectorSpecificity
-
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
-
-
-
Field Detail
-
ancestorSelector_
private final Selector ancestorSelector_
-
simpleSelector_
private final SimpleSelector simpleSelector_
-
-
Constructor Detail
-
DescendantSelector
public DescendantSelector(Selector ancestorSelector, SimpleSelector simpleSelector)
Ctor.- Parameters:
ancestorSelector
- the ancestor selectorsimpleSelector
- the simple selector
-
-
Method Detail
-
getSelectorType
public Selector.SelectorType getSelectorType()
- Returns:
- the associated selector type
-
getAncestorSelector
public Selector getAncestorSelector()
- Returns:
- the anchestor selector
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Returns:
- the simple selector part
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-