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 FillRuleManager extends IdentifierManager { 32 33 36 protected final static StringMap values = new StringMap(); 37 static { 38 values.put(CSSConstants.CSS_EVENODD_VALUE, 39 SVGValueConstants.EVENODD_VALUE); 40 values.put(CSSConstants.CSS_NONZERO_VALUE, 41 SVGValueConstants.NONZERO_VALUE); 42 } 43 44 48 public boolean isInheritedProperty() { 49 return true; 50 } 51 52 56 public String getPropertyName() { 57 return CSSConstants.CSS_FILL_RULE_PROPERTY; 58 } 59 60 64 public Value getDefaultValue() { 65 return SVGValueConstants.NONZERO_VALUE; 66 } 67 68 71 public StringMap getIdentifiers() { 72 return values; 73 } 74 } 75 | Popular Tags |