Class CSSElementSelectorImpl

java.lang.Object
org.eclipse.e4.ui.css.core.impl.sac.AbstractElementSelector
org.eclipse.e4.ui.css.core.impl.sac.CSSElementSelectorImpl
All Implemented Interfaces:
ExtendedSelector, org.w3c.css.sac.ElementSelector, org.w3c.css.sac.Selector, org.w3c.css.sac.SimpleSelector

public class CSSElementSelectorImpl extends AbstractElementSelector
This class implements the ElementSelector interface.
  • Constructor Details

    • CSSElementSelectorImpl

      public CSSElementSelectorImpl(String uri, String name)
      Creates a new ElementSelector object.
  • Method Details

    • getSelectorType

      public short getSelectorType()
      SAC: Implements Selector.getSelectorType().
    • match

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

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

      public String toString()
      Returns a representation of the selector.
      Overrides:
      toString in class Object