org.apache.batik.dom.svg
Class SVGOMAnimatedLength

java.lang.Object
  |
  +--org.apache.batik.dom.svg.SVGOMAnimatedLength
All Implemented Interfaces:
AttributeModifier, SVGAnimatedLength

public class SVGOMAnimatedLength
extends java.lang.Object
implements SVGAnimatedLength, AttributeModifier

This class implements SVGAnimatedLength.


Field Summary
protected  java.lang.String attributeName
          The associated attribute name.
protected  java.lang.String attributeNsURI
          The asociated attribute namespace URI.
protected  SVGOMLength baseVal
          The baseVal attribute.
protected  SVGOMElement element
          The element this length is attached to.
 
Constructor Summary
SVGOMAnimatedLength(SVGOMElement elt, java.lang.String nsURI, java.lang.String attr)
          Creates a new SVGOMAnimatedLength object.
 
Method Summary
 DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
          Creates a DOM exception with a localized message.
 SVGLength getAnimVal()
          DOM: Implements SVGAnimatedLength.getAnimVal().
 SVGLength getBaseVal()
          DOM: Implements SVGAnimatedLength.getBaseVal().
 SVGElement getSVGElement()
          Returns the associated element.
 void setAttributeValue(java.lang.String value)
          Implements AttributeModifier.setAttributeValue(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected SVGOMElement element
The element this length is attached to.

attributeNsURI

protected java.lang.String attributeNsURI
The asociated attribute namespace URI.

attributeName

protected java.lang.String attributeName
The associated attribute name.

baseVal

protected SVGOMLength baseVal
The baseVal attribute.
Constructor Detail

SVGOMAnimatedLength

public SVGOMAnimatedLength(SVGOMElement elt,
                           java.lang.String nsURI,
                           java.lang.String attr)
Creates a new SVGOMAnimatedLength object.
Parameters:
elt - The owner element.
nsURI - The associated attribute namespace URI.
attr - The associated attribute name.
Method Detail

getSVGElement

public SVGElement getSVGElement()
Returns the associated element.
Specified by:
getSVGElement in interface AttributeModifier

getBaseVal

public SVGLength getBaseVal()
DOM: Implements SVGAnimatedLength.getBaseVal().
Specified by:
getBaseVal in interface SVGAnimatedLength

getAnimVal

public SVGLength getAnimVal()
DOM: Implements SVGAnimatedLength.getAnimVal().
Specified by:
getAnimVal in interface SVGAnimatedLength

setAttributeValue

public void setAttributeValue(java.lang.String value)
Implements AttributeModifier.setAttributeValue(String).
Specified by:
setAttributeValue in interface AttributeModifier

createDOMException

public DOMException createDOMException(short type,
                                       java.lang.String key,
                                       java.lang.Object[] args)
Creates a DOM exception with a localized message.
Specified by:
createDOMException in interface AttributeModifier
Parameters:
type - The DOM exception type.
key - The key of the message in the resource bundle.
args - The message arguments.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.