- All Superinterfaces:
Locatable
- All Known Subinterfaces:
SimpleSelector
- All Known Implementing Classes:
AbstractSelector,ChildSelector,DescendantSelector,DirectAdjacentSelector,ElementSelector,GeneralAdjacentSelector,PseudoElementSelector,RelativeSelector
Interface for CSS selectors.
- Author:
- Ronald Brill
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the selector specificity.Returns the associated selector type.Returns the simple selector part.Methods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
Method Details
-
getSelectorType
Selector.SelectorType getSelectorType()Returns the associated selector type.- Returns:
- the associated selector type
-
getSimpleSelector
SimpleSelector getSimpleSelector()Returns the simple selector part.- Returns:
- the simple selector part
-
getSelectorSpecificity
SelectorSpecificity getSelectorSpecificity()Returns the selector specificity.- Returns:
- the selector specificity
-