Interface ExtendedSelector

All Superinterfaces:
org.w3c.css.sac.Selector
All Known Implementing Classes:
AbstractDescendantSelector, AbstractElementSelector, AbstractSiblingSelector, CSSChildSelectorImpl, CSSConditionalSelectorImpl, CSSDescendantSelectorImpl, CSSDirectAdjacentSelectorImpl, CSSElementSelectorImpl, CSSPseudoElementSelectorImpl

public interface ExtendedSelector extends org.w3c.css.sac.Selector
This interface extends the Selector.
  • Field Summary

    Fields inherited from interface org.w3c.css.sac.Selector

    SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR, SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR, SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR, SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR, SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR, SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR, SAC_TEXT_NODE_SELECTOR
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fills the given set with the attribute names found in this selector.
    int
    Returns the specificity of this selector.
    boolean
    match(Element e, String pseudoE)
    Tests whether this selector matches the given element.
    default boolean
    match(Element e, Node[] ancestors, int parentIndex, String pseudoE)
     

    Methods inherited from interface org.w3c.css.sac.Selector

    getSelectorType
  • Method Details

    • match

      default boolean match(Element e, Node[] ancestors, int parentIndex, String pseudoE)
    • match

      boolean match(Element e, String pseudoE)
      Tests whether this selector matches the given element.
    • getSpecificity

      int getSpecificity()
      Returns the specificity of this selector.
    • fillAttributeSet

      void fillAttributeSet(Set<String> attrSet)
      Fills the given set with the attribute names found in this selector.