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 ImageRenderingManager extends IdentifierManager { 32 33 36 protected final static StringMap values = new StringMap(); 37 static { 38 values.put(CSSConstants.CSS_AUTO_VALUE, 39 SVGValueConstants.AUTO_VALUE); 40 values.put(CSSConstants.CSS_OPTIMIZEQUALITY_VALUE, 41 SVGValueConstants.OPTIMIZEQUALITY_VALUE); 42 values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE, 43 SVGValueConstants.OPTIMIZESPEED_VALUE); 44 } 45 46 50 public boolean isInheritedProperty() { 51 return true; 52 } 53 54 58 public String getPropertyName() { 59 return CSSConstants.CSS_IMAGE_RENDERING_PROPERTY; 60 } 61 62 66 public Value getDefaultValue() { 67 return SVGValueConstants.AUTO_VALUE; 68 } 69 70 73 public StringMap getIdentifiers() { 74 return values; 75 } 76 } 77 | Popular Tags |