1 18 package org.apache.batik.css.engine.value.svg; 19 20 import org.apache.batik.css.engine.CSSEngine; 21 import org.apache.batik.css.engine.value.AbstractValueFactory; 22 import org.apache.batik.css.engine.value.ShorthandManager; 23 import org.apache.batik.css.engine.value.ValueManager; 24 import org.apache.batik.util.CSSConstants; 25 import org.w3c.css.sac.LexicalUnit; 26 import org.w3c.dom.DOMException ; 27 28 35 public class MarkerShorthandManager 36 extends AbstractValueFactory 37 implements ShorthandManager { 38 39 42 public String getPropertyName() { 43 return CSSConstants.CSS_MARKER_PROPERTY; 44 } 45 46 49 public void setValues(CSSEngine eng, 50 ShorthandManager.PropertyHandler ph, 51 LexicalUnit lu, 52 boolean imp) 53 throws DOMException { 54 ph.property(CSSConstants.CSS_MARKER_END_PROPERTY, lu, imp); 55 ph.property(CSSConstants.CSS_MARKER_MID_PROPERTY, lu, imp); 56 ph.property(CSSConstants.CSS_MARKER_START_PROPERTY, lu, imp); 57 } 58 } 59 | Popular Tags |