All Superinterfaces:
Locatable
All Known Subinterfaces:
SimpleSelector
All Known Implementing Classes:
AbstractSelector, ChildSelector, DescendantSelector, DirectAdjacentSelector, ElementSelector, GeneralAdjacentSelector, PseudoElementSelector, RelativeSelector

public interface Selector extends Locatable
Interface for CSS selectors.
Author:
Ronald Brill
  • 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