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 the
SVGAnimatedString
interface.- Version:
- $Id: SVGOMAnimatedString.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsFields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI
-
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedString
(AbstractElement elt, String ns, String ln) Creates a new SVGOMAnimatedString. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when an Attr node has been added.void
attrModified
(Attr node, String oldv, String newv) Called when an Attr node has been modified.void
attrRemoved
(Attr node, String oldv) Called when an Attr node has been removed.DOM: ImplementsSVGAnimatedString.getAnimVal()
.DOM: ImplementsSVGAnimatedString.getBaseVal()
.getUnderlyingValue
(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue
.void
setBaseVal
(String baseVal) DOM: ImplementsSVGAnimatedString.setBaseVal(String)
.protected void
Updates the animated value with the givenAnimatableValue
.Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
-
Field Details
-
animVal
The current animated value.
-
-
Constructor Details
-
SVGOMAnimatedString
Creates a new SVGOMAnimatedString.- Parameters:
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.
-
-
Method Details
-
getBaseVal
DOM: ImplementsSVGAnimatedString.getBaseVal()
.- Specified by:
getBaseVal
in interfaceorg.w3c.dom.svg.SVGAnimatedString
-
setBaseVal
DOM: ImplementsSVGAnimatedString.setBaseVal(String)
.- Specified by:
setBaseVal
in interfaceorg.w3c.dom.svg.SVGAnimatedString
- Throws:
DOMException
-
getAnimVal
DOM: ImplementsSVGAnimatedString.getAnimVal()
.- Specified by:
getAnimVal
in interfaceorg.w3c.dom.svg.SVGAnimatedString
-
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue
.- Specified by:
getUnderlyingValue
in interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue
.- Specified by:
updateAnimatedValue
in classAbstractSVGAnimatedValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAdded
in interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModified
in interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemoved
in interfaceLiveAttributeValue
-