Package org.apache.batik.anim.dom
Class SVGOMAnimatedString
- java.lang.Object
-
- org.apache.batik.anim.dom.AbstractSVGAnimatedValue
-
- org.apache.batik.anim.dom.SVGOMAnimatedString
-
- All Implemented Interfaces:
AnimatedLiveAttributeValue,LiveAttributeValue,org.w3c.dom.svg.SVGAnimatedString
public class SVGOMAnimatedString extends AbstractSVGAnimatedValue implements org.w3c.dom.svg.SVGAnimatedString
This class implements theSVGAnimatedStringinterface.- Version:
- $Id: SVGOMAnimatedString.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringanimValThe current animated value.-
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI
-
-
Constructor Summary
Constructors Constructor Description SVGOMAnimatedString(AbstractElement elt, java.lang.String ns, java.lang.String ln)Creates a new SVGOMAnimatedString.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattrAdded(org.w3c.dom.Attr node, java.lang.String newv)Called when an Attr node has been added.voidattrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)Called when an Attr node has been modified.voidattrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)Called when an Attr node has been removed.java.lang.StringgetAnimVal()DOM: ImplementsSVGAnimatedString.getAnimVal().java.lang.StringgetBaseVal()DOM: ImplementsSVGAnimatedString.getBaseVal().AnimatableValuegetUnderlyingValue(AnimationTarget target)Returns the base value of the attribute as anAnimatableValue.voidsetBaseVal(java.lang.String baseVal)DOM: ImplementsSVGAnimatedString.setBaseVal(String).protected voidupdateAnimatedValue(AnimatableValue val)Updates the animated value with the givenAnimatableValue.-
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
-
-
-
-
Constructor Detail
-
SVGOMAnimatedString
public SVGOMAnimatedString(AbstractElement elt, java.lang.String ns, java.lang.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
-
getBaseVal
public java.lang.String getBaseVal()
DOM: ImplementsSVGAnimatedString.getBaseVal().- Specified by:
getBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedString
-
setBaseVal
public void setBaseVal(java.lang.String baseVal) throws org.w3c.dom.DOMExceptionDOM: ImplementsSVGAnimatedString.setBaseVal(String).- Specified by:
setBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedString- Throws:
org.w3c.dom.DOMException
-
getAnimVal
public java.lang.String getAnimVal()
DOM: ImplementsSVGAnimatedString.getAnimVal().- Specified by:
getAnimValin interfaceorg.w3c.dom.svg.SVGAnimatedString
-
getUnderlyingValue
public AnimatableValue getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as anAnimatableValue.- Specified by:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
attrAdded
public void attrAdded(org.w3c.dom.Attr node, java.lang.String newv)Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
public void attrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
public void attrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-
-