1 18 package org.apache.batik.css.engine.value.css2; 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.css.engine.value.ValueConstants; 24 import org.apache.batik.util.CSSConstants; 25 26 32 public class FontVariantManager extends IdentifierManager { 33 34 37 protected final static StringMap values = new StringMap(); 38 static { 39 values.put(CSSConstants.CSS_NORMAL_VALUE, 40 ValueConstants.NORMAL_VALUE); 41 values.put(CSSConstants.CSS_SMALL_CAPS_VALUE, 42 ValueConstants.SMALL_CAPS_VALUE); 43 } 44 45 49 public boolean isInheritedProperty() { 50 return true; 51 } 52 53 57 public String getPropertyName() { 58 return CSSConstants.CSS_FONT_VARIANT_PROPERTY; 59 } 60 61 65 public Value getDefaultValue() { 66 return ValueConstants.NORMAL_VALUE; 67 } 68 69 72 public StringMap getIdentifiers() { 73 return values; 74 } 75 } 76 | Popular Tags |