Class CSSPseudoElementSelectorImpl

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

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

    • CSSPseudoElementSelectorImpl

      public CSSPseudoElementSelectorImpl(String uri, String name)
      Creates a new CSSPseudoElementSelector 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