Class ChildSelector
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.selector.AbstractSelector
-
- org.htmlunit.cssparser.parser.selector.ChildSelector
-
public class ChildSelector 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 SelectorancestorSelector_private SimpleSelectorsimpleSelector_
-
Constructor Summary
Constructors Constructor Description ChildSelector(Selector ancestorSelector, SimpleSelector simpleSelector)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectorgetAncestorSelector()Selector.SelectorTypegetSelectorType()SimpleSelectorgetSimpleSelector()java.lang.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
-
-
-
-
Field Detail
-
ancestorSelector_
private final Selector ancestorSelector_
-
simpleSelector_
private final SimpleSelector simpleSelector_
-
-
Constructor Detail
-
ChildSelector
public ChildSelector(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 ancestor selector
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Returns:
- the simple selector part
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-