Class ElementSelectorImpl

  • All Implemented Interfaces:
    org.w3c.css.sac.ElementSelector, org.w3c.css.sac.Selector, org.w3c.css.sac.SimpleSelector

    public class ElementSelectorImpl
    extends Object
    implements org.w3c.css.sac.ElementSelector
    Version:
    $Revision$
    Author:
    Philippe Le Hegaret
    • Constructor Detail

      • ElementSelectorImpl

        public ElementSelectorImpl​(String localName)
        Creates a new ElementSelectorImpl
    • Method Detail

      • getSelectorType

        public short getSelectorType()
        An integer indicating the type of Selector
        Specified by:
        getSelectorType in interface org.w3c.css.sac.Selector
      • getNamespaceURI

        public String getNamespaceURI()
        Returns the namespace URI of this element selector.

        NULL if this element selector can match any namespace.

        Specified by:
        getNamespaceURI in interface org.w3c.css.sac.ElementSelector
      • getLocalName

        public String getLocalName()
        Returns the local part of the qualified name of this element.

        NULL if this element selector can match any element.

Specified by:
getLocalName in interface org.w3c.css.sac.ElementSelector