Class CSSConditionalSelector

  • All Implemented Interfaces:
    Serializable, CSSSelector, org.w3c.css.sac.ConditionalSelector, org.w3c.css.sac.Selector, org.w3c.css.sac.SimpleSelector

    public class CSSConditionalSelector
    extends AbstractSelector
    implements org.w3c.css.sac.ConditionalSelector
    Creation-Date: 30.11.2005, 16:43:45
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • CSSConditionalSelector

        public CSSConditionalSelector​(org.w3c.css.sac.SimpleSelector simpleSelector,
                                      org.w3c.css.sac.Condition condition)
    • Method Detail

      • getSimpleSelector

        public org.w3c.css.sac.SimpleSelector getSimpleSelector()
        Returns the simple selector.

        The simple selector can't be a ConditionalSelector.

        Specified by:
        getSimpleSelector in interface org.w3c.css.sac.ConditionalSelector
      • getCondition

        public org.w3c.css.sac.Condition getCondition()
        Returns the condition to be applied on the simple selector.
        Specified by:
        getCondition in interface org.w3c.css.sac.ConditionalSelector
      • getSelectorType

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