1 18 19 package org.apache.batik.css.engine.value; 20 21 import org.apache.batik.css.engine.CSSEngine; 22 import org.apache.batik.css.engine.CSSStylableElement; 23 import org.apache.batik.css.engine.StyleMap; 24 import org.w3c.css.sac.LexicalUnit; 25 import org.w3c.dom.DOMException ; 26 27 34 public interface ValueManager { 35 36 39 String getPropertyName(); 40 41 44 boolean isInheritedProperty(); 45 46 49 Value getDefaultValue(); 50 51 56 Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException ; 57 58 64 Value createFloatValue(short unitType, float floatValue) 65 throws DOMException ; 66 67 74 Value createStringValue(short type, String value, CSSEngine engine) 75 throws DOMException ; 76 77 86 Value computeValue(CSSStylableElement elt, 87 String pseudo, 88 CSSEngine engine, 89 int idx, 90 StyleMap sm, 91 Value value); 92 93 } 94 | Popular Tags |