Class CSSDescendantSelector

    • Constructor Detail

      • CSSDescendantSelector

        public CSSDescendantSelector​(org.w3c.css.sac.SimpleSelector simpleSelector,
                                     org.w3c.css.sac.Selector anchestorSelector,
                                     boolean childRelation)
    • Method Detail

      • getAncestorSelector

        public org.w3c.css.sac.Selector getAncestorSelector()
        Returns the parent selector.
        Specified by:
        getAncestorSelector in interface org.w3c.css.sac.DescendantSelector
      • getSimpleSelector

        public org.w3c.css.sac.SimpleSelector getSimpleSelector()
        Specified by:
        getSimpleSelector in interface org.w3c.css.sac.DescendantSelector
      • getSelectorType

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