org.apache.batik.dom.svg

Class SVGOMAnimatedString

public class SVGOMAnimatedString extends AbstractSVGAnimatedValue implements SVGAnimatedString

This class implements the SVGAnimatedString interface.
Field Summary
protected StringanimVal
The current animated value.
Constructor Summary
SVGOMAnimatedString(AbstractElement elt, String ns, String ln)
Creates a new SVGOMAnimatedString.
Method Summary
voidattrAdded(Attr node, String newv)
Called when an Attr node has been added.
voidattrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.
voidattrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.
StringgetAnimVal()
DOM: Implements SVGAnimatedString#getAnimVal().
StringgetBaseVal()
DOM: Implements SVGAnimatedString#getBaseVal().
AnimatableValuegetUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue.
voidsetBaseVal(String baseVal)
DOM: Implements SVGAnimatedString#setBaseVal(String).
protected voidupdateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue.

Field Detail

animVal

protected String animVal
The current animated value.

Constructor Detail

SVGOMAnimatedString

public SVGOMAnimatedString(AbstractElement elt, String ns, String ln)
Creates a new SVGOMAnimatedString.

Parameters: elt The associated element. ns The attribute's namespace URI. ln The attribute's local name.

Method Detail

attrAdded

public void attrAdded(Attr node, String newv)
Called when an Attr node has been added.

attrModified

public void attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.

attrRemoved

public void attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.

getAnimVal

public String getAnimVal()
DOM: Implements SVGAnimatedString#getAnimVal().

getBaseVal

public String getBaseVal()
DOM: Implements SVGAnimatedString#getBaseVal().

getUnderlyingValue

public AnimatableValue getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue.

setBaseVal

public void setBaseVal(String baseVal)
DOM: Implements SVGAnimatedString#setBaseVal(String).

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.