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.SVGAnimatedNumber; 23 import org.w3c.dom.svg.SVGFEPointLightElement; 24 25 31 public class SVGOMFEPointLightElement 32 extends SVGOMElement 33 implements SVGFEPointLightElement { 34 35 38 protected SVGOMFEPointLightElement() { 39 } 40 41 46 public SVGOMFEPointLightElement(String prefix, 47 AbstractDocument owner) { 48 super(prefix, owner); 49 } 50 51 54 public String getLocalName() { 55 return SVG_FE_POINT_LIGHT_TAG; 56 } 57 58 61 public SVGAnimatedNumber getX() { 62 return getAnimatedNumberAttribute(null, SVG_X_ATTRIBUTE, 0f); 63 } 64 65 68 public SVGAnimatedNumber getY() { 69 return getAnimatedNumberAttribute(null, SVG_Y_ATTRIBUTE, 0f); 70 } 71 72 75 public SVGAnimatedNumber getZ() { 76 return getAnimatedNumberAttribute(null, SVG_Z_ATTRIBUTE, 0f); 77 } 78 79 82 protected Node newNode() { 83 return new SVGOMFEPointLightElement(); 84 } 85 } 86 | Popular Tags |