1 18 package org.apache.batik.dom.svg; 19 20 import org.apache.batik.dom.AbstractDocument; 21 import org.w3c.dom.Node ; 22 import org.w3c.dom.svg.SVGAnimateTransformElement; 23 24 30 public class SVGOMAnimateTransformElement 31 extends SVGOMAnimationElement 32 implements SVGAnimateTransformElement { 33 34 37 protected final static AttributeInitializer attributeInitializer; 38 static { 39 attributeInitializer = new AttributeInitializer(1); 40 attributeInitializer.addAttribute(null, 41 null, 42 SVG_TYPE_ATTRIBUTE, 43 SVG_TRANSLATE_VALUE); 44 } 45 46 49 protected SVGOMAnimateTransformElement() { 50 } 51 52 57 public SVGOMAnimateTransformElement(String prefix, 58 AbstractDocument owner) { 59 super(prefix, owner); 60 61 } 62 63 66 public String getLocalName() { 67 return SVG_ANIMATE_TRANSFORM_TAG; 68 } 69 70 74 protected AttributeInitializer getAttributeInitializer() { 75 return attributeInitializer; 76 } 77 78 81 protected Node newNode() { 82 return new SVGOMAnimateTransformElement(); 83 } 84 } 85 | Popular Tags |