java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.parser.selector.AbstractSelector
org.htmlunit.cssparser.parser.selector.ChildSelector
- All Implemented Interfaces:
Serializable,Locatable,Selector
Implementation of ChildSelector.
- Author:
- Ronald Brill
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.selector.Selector
Selector.SelectorType -
Constructor Summary
ConstructorsConstructorDescriptionChildSelector(Selector ancestorSelector, SimpleSelector simpleSelector) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the ancestor selector.Returns the associated selector type.Returns the simple selector part.toString()Methods inherited from class org.htmlunit.cssparser.parser.selector.AbstractSelector
getSelectorSpecificityMethods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
Constructor Details
-
ChildSelector
Ctor.- Parameters:
ancestorSelector- the ancestor selectorsimpleSelector- the simple selector
-
-
Method Details
-
getSelectorType
Returns the associated selector type.- Returns:
- the associated selector type
-
getAncestorSelector
Returns the ancestor selector.- Returns:
- the ancestor selector
-
getSimpleSelector
Returns the simple selector part.- Returns:
- the simple selector part
-
toString
-