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.SVGPointList; 23 import org.w3c.dom.svg.SVGPolylineElement; 24 25 31 public class SVGOMPolylineElement 32 extends SVGGraphicsElement 33 implements SVGPolylineElement { 34 35 38 protected SVGOMPolylineElement() { 39 } 40 41 46 public SVGOMPolylineElement(String prefix, AbstractDocument owner) { 47 super(prefix, owner); 48 } 49 50 53 public String getLocalName() { 54 return SVG_POLYLINE_TAG; 55 } 56 57 61 public SVGPointList getPoints() { 62 return SVGAnimatedPointsSupport.getPoints(this); 63 } 64 65 69 public SVGPointList getAnimatedPoints() { 70 return SVGAnimatedPointsSupport.getAnimatedPoints(this); 71 } 72 73 76 protected Node newNode() { 77 return new SVGOMPolylineElement(); 78 } 79 } 80 | Popular Tags |