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.SVGAnimatedString; 24 import org.w3c.dom.svg.SVGFESpecularLightingElement; 25 26 32 public class SVGOMFESpecularLightingElement 33 extends SVGOMFilterPrimitiveStandardAttributes 34 implements SVGFESpecularLightingElement { 35 36 39 protected SVGOMFESpecularLightingElement() { 40 } 41 42 47 public SVGOMFESpecularLightingElement(String prefix, 48 AbstractDocument owner) { 49 super(prefix, owner); 50 } 51 52 55 public String getLocalName() { 56 return SVG_FE_SPECULAR_LIGHTING_TAG; 57 } 58 59 62 public SVGAnimatedString getIn1() { 63 return getAnimatedStringAttribute(null, SVG_IN_ATTRIBUTE); 64 } 65 66 70 public SVGAnimatedNumber getSurfaceScale() { 71 return getAnimatedNumberAttribute(null, 72 SVG_SURFACE_SCALE_ATTRIBUTE, 73 1f); 74 } 75 76 80 public SVGAnimatedNumber getSpecularConstant() { 81 return getAnimatedNumberAttribute(null, 82 SVG_SPECULAR_CONSTANT_ATTRIBUTE, 83 1f); 84 } 85 86 90 public SVGAnimatedNumber getSpecularExponent() { 91 return getAnimatedNumberAttribute(null, 92 SVG_SPECULAR_EXPONENT_ATTRIBUTE, 93 1f); 94 } 95 96 99 protected Node newNode() { 100 return new SVGOMFESpecularLightingElement(); 101 } 102 } 103 | Popular Tags |