1 18 package org.apache.batik.svggen; 19 20 import java.util.HashMap ; 21 import java.util.LinkedList ; 22 import java.util.List ; 23 import java.util.Map ; 24 25 32 public class SVGTransformDescriptor implements SVGDescriptor, SVGSyntax{ 33 private String transform; 34 35 public SVGTransformDescriptor(String transform){ 36 this.transform = transform; 37 } 38 39 47 public Map getAttributeMap(Map attrMap){ 48 if(attrMap == null) 49 attrMap = new HashMap (); 50 51 attrMap.put(SVG_TRANSFORM_ATTRIBUTE, transform); 52 53 return attrMap; 54 } 55 56 65 public List getDefinitionSet(List defSet) { 66 if (defSet == null) 67 defSet = new LinkedList (); 68 69 return defSet; 70 } 71 } 72 | Popular Tags |