1 18 package org.apache.batik.css.parser; 19 20 import org.w3c.css.sac.DescendantSelector; 21 import org.w3c.css.sac.Selector; 22 import org.w3c.css.sac.SimpleSelector; 23 24 31 public abstract class AbstractDescendantSelector 32 implements DescendantSelector { 33 34 37 protected Selector ancestorSelector; 38 39 42 protected SimpleSelector simpleSelector; 43 44 47 protected AbstractDescendantSelector(Selector ancestor, 48 SimpleSelector simple) { 49 ancestorSelector = ancestor; 50 simpleSelector = simple; 51 } 52 53 56 public Selector getAncestorSelector() { 57 return ancestorSelector; 58 } 59 60 63 public SimpleSelector getSimpleSelector() { 64 return simpleSelector; 65 } 66 } 67 | Popular Tags |