1 18 package org.apache.batik.css.engine.value.svg; 19 20 import org.apache.batik.css.engine.value.IdentifierManager; 21 import org.apache.batik.css.engine.value.StringMap; 22 import org.apache.batik.css.engine.value.Value; 23 import org.apache.batik.util.CSSConstants; 24 25 31 public class TextAnchorManager extends IdentifierManager { 32 33 36 protected final static StringMap values = new StringMap(); 37 static { 38 values.put(CSSConstants.CSS_START_VALUE, 39 SVGValueConstants.START_VALUE); 40 values.put(CSSConstants.CSS_MIDDLE_VALUE, 41 SVGValueConstants.MIDDLE_VALUE); 42 values.put(CSSConstants.CSS_END_VALUE, 43 SVGValueConstants.END_VALUE); 44 } 45 46 50 public boolean isInheritedProperty() { 51 return true; 52 } 53 54 58 public String getPropertyName() { 59 return CSSConstants.CSS_TEXT_ANCHOR_PROPERTY; 60 } 61 62 66 public Value getDefaultValue() { 67 return SVGValueConstants.START_VALUE; 68 } 69 70 73 public StringMap getIdentifiers() { 74 return values; 75 } 76 } 77 | Popular Tags |