Package org.apache.batik.bridge
Class SVGAnimationEngine.AnimatableLengthListValueFactory
- java.lang.Object
-
- org.apache.batik.bridge.SVGAnimationEngine.AnimatableLengthListValueFactory
-
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Enclosing class:
- SVGAnimationEngine
protected class SVGAnimationEngine.AnimatableLengthListValueFactory extends java.lang.Object implements SVGAnimationEngine.Factory
Factory class forAnimatableLengthListValue
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected LengthListParser
parser
Parser for length lists.protected LengthArrayProducer
producer
The producer class that accumulates the lengths.
-
Constructor Summary
Constructors Constructor Description AnimatableLengthListValueFactory()
Creates a new AnimatableLengthListValueFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableValue
createValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)
Creates a new AnimatableValue from a string.AnimatableValue
createValue(AnimationTarget target, java.lang.String pn, Value v)
Creates a new AnimatableValue from a CSSValue
.
-
-
-
Field Detail
-
parser
protected LengthListParser parser
Parser for length lists.
-
producer
protected LengthArrayProducer producer
The producer class that accumulates the lengths.
-
-
Method Detail
-
createValue
public AnimatableValue createValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)
Creates a new AnimatableValue from a string.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
createValue
public AnimatableValue createValue(AnimationTarget target, java.lang.String pn, Value v)
Creates a new AnimatableValue from a CSSValue
. Returns null since point lists aren't used in CSS values.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
-