1 18 package org.apache.batik.css.engine.value; 19 20 import org.w3c.dom.DOMException ; 21 import org.w3c.dom.css.CSSPrimitiveValue; 22 23 29 public class URIValue extends StringValue { 30 31 String cssText; 32 33 36 public URIValue(String cssText, String uri) { 37 super(CSSPrimitiveValue.CSS_URI, uri); 38 this.cssText = cssText; 39 } 40 41 44 public String getCssText() { 45 return "url(" + cssText + ")"; 46 } 47 } 48 | Popular Tags |