1 14 package org.w3c.flute.parser.selectors; 15 16 import org.w3c.css.sac.CombinatorCondition; 17 import org.w3c.css.sac.Condition; 18 19 23 public class AndConditionImpl implements CombinatorCondition { 24 25 Condition firstCondition; 26 Condition secondCondition; 27 28 31 public AndConditionImpl(Condition firstCondition, Condition secondCondition) { 32 this.firstCondition = firstCondition; 33 this.secondCondition = secondCondition; 34 } 35 36 39 public short getConditionType() { 40 return Condition.SAC_AND_CONDITION; 41 } 42 43 46 public Condition getFirstCondition() { 47 return firstCondition; 48 } 49 50 53 public Condition getSecondCondition() { 54 return secondCondition; 55 } 56 } 57 | Popular Tags |