1 14 package org.w3c.flute.parser.selectors; 15 16 import org.w3c.css.sac.ConditionalSelector; 17 import org.w3c.css.sac.Selector; 18 import org.w3c.css.sac.SimpleSelector; 19 import org.w3c.css.sac.Condition; 20 21 25 public class ConditionalSelectorImpl implements ConditionalSelector { 26 27 SimpleSelector simpleSelector; 28 Condition condition; 29 30 33 public short getSelectorType() { 34 return Selector.SAC_CONDITIONAL_SELECTOR; 35 } 36 37 38 41 public ConditionalSelectorImpl(SimpleSelector simpleSelector, 42 Condition condition) { 43 this.simpleSelector = simpleSelector; 44 this.condition = condition; 45 } 46 47 48 52 public SimpleSelector getSimpleSelector() { 53 return simpleSelector; 54 } 55 56 59 public Condition getCondition() { 60 return condition; 61 } 62 } 63 64 | Popular Tags |