org.apache.batik.dom.svg

Class SVGOMAnimatedString

public class SVGOMAnimatedString extends AbstractSVGAnimatedValue implements SVGAnimatedString

This class implements the {@link 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 {@link SVGAnimatedString#getAnimVal()}.
StringgetBaseVal()
DOM: Implements {@link SVGAnimatedString#getBaseVal()}.
AnimatableValuegetUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}.
voidsetBaseVal(String baseVal)
DOM: Implements {@link SVGAnimatedString#setBaseVal(String)}.
protected voidupdateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link 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 {@link SVGAnimatedString#getAnimVal()}.

getBaseVal

public String getBaseVal()
DOM: Implements {@link SVGAnimatedString#getBaseVal()}.

getUnderlyingValue

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

setBaseVal

public void setBaseVal(String baseVal)
DOM: Implements {@link SVGAnimatedString#setBaseVal(String)}.

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.