1 18 package org.apache.batik.css.parser; 19 20 import org.w3c.css.sac.Selector; 21 import org.w3c.css.sac.SiblingSelector; 22 import org.w3c.css.sac.SimpleSelector; 23 24 31 public abstract class AbstractSiblingSelector 32 implements SiblingSelector { 33 34 37 protected short nodeType; 38 39 42 protected Selector selector; 43 44 47 protected SimpleSelector simpleSelector; 48 49 52 protected AbstractSiblingSelector(short type, 53 Selector sel, 54 SimpleSelector simple) { 55 nodeType = type; 56 selector = sel; 57 simpleSelector = simple; 58 } 59 60 63 public short getNodeType() { 64 return nodeType; 65 } 66 67 71 public Selector getSelector() { 72 return selector; 73 } 74 75 79 public SimpleSelector getSiblingSelector() { 80 return simpleSelector; 81 } 82 } 83 | Popular Tags |