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.SVGAnimateMotionElement; 23 24 30 public class SVGOMAnimateMotionElement 31 extends SVGOMAnimationElement 32 implements SVGAnimateMotionElement { 33 34 37 protected final static AttributeInitializer attributeInitializer; 38 static { 39 attributeInitializer = new AttributeInitializer(1); 40 attributeInitializer.addAttribute(null, 41 null, 42 SVG_CALC_MODE_ATTRIBUTE, 43 SVG_PACED_VALUE); 44 } 45 46 49 protected SVGOMAnimateMotionElement() { 50 } 51 52 57 public SVGOMAnimateMotionElement(String prefix, AbstractDocument owner) { 58 super(prefix, owner); 59 60 } 61 62 65 public String getLocalName() { 66 return SVG_ANIMATE_MOTION_TAG; 67 } 68 69 73 protected AttributeInitializer getAttributeInitializer() { 74 return attributeInitializer; 75 } 76 77 80 protected Node newNode() { 81 return new SVGOMAnimateMotionElement(); 82 } 83 } 84 | Popular Tags |