Class DescendantSelector
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.selector.AbstractSelector
-
- org.htmlunit.cssparser.parser.selector.DescendantSelector
-
- All Implemented Interfaces:
Serializable,Locatable,Selector
public class DescendantSelector extends AbstractSelector
DescendantSelector class.
- Author:
- Ronald Brill
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.selector.Selector
Selector.SelectorType
-
-
Constructor Summary
Constructors Constructor Description DescendantSelector(Selector ancestorSelector, SimpleSelector simpleSelector)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectorgetAncestorSelector()getAncestorSelector.Selector.SelectorTypegetSelectorType()getSelectorType.SimpleSelectorgetSimpleSelector()getSimpleSelector.StringtoString()-
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
-
-
-
-
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()
getSelectorType.
- Returns:
- the associated selector type
-
getAncestorSelector
public Selector getAncestorSelector()
getAncestorSelector.
- Returns:
- the anchestor selector
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
getSimpleSelector.
- Returns:
- the simple selector part
-
-