org.apache.batik.dom.svg
Class SVGOMAnimatedLength
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGAnimatedValue
org.apache.batik.dom.svg.AbstractSVGAnimatedLength
org.apache.batik.dom.svg.SVGOMAnimatedLength
- All Implemented Interfaces:
- AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedLength
public class SVGOMAnimatedLength
- extends AbstractSVGAnimatedLength
This class provides an implementation of the SVGAnimatedLength
interface.
Field Summary |
protected String |
defaultValue
The default value if the attribute is not specified. |
Method Summary |
protected String |
getDefaultValue()
Returns the default value to use when the associated attribute
was not specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultValue
protected String defaultValue
- The default value if the attribute is not specified.
SVGOMAnimatedLength
public SVGOMAnimatedLength(AbstractElement elt,
String ns,
String ln,
String def,
short dir,
boolean nonneg)
- Creates a new SVGOMAnimatedLength.
- Parameters:
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.def
- The default value if the attribute is not specified.dir
- The length's direction.nonneg
- Whether the length must be non-negative.
getDefaultValue
protected String getDefaultValue()
- Returns the default value to use when the associated attribute
was not specified.
- Specified by:
getDefaultValue
in class AbstractSVGAnimatedLength
- Returns:
- the default value to use when the associated attribute
was not specified.
Copyright © 2008 Apache Software Foundation. All Rights Reserved.