Class 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.
Version:
$Id: SVGOMAnimatedLength.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • defaultValue

      protected String defaultValue
      The default value if the attribute is not specified.
  • Constructor Details

    • 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.
  • Method Details

    • 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.