Package org.apache.batik.bridge
Class SVGAnimationEngine.AnimatableNumberListValueFactory
- java.lang.Object
-
- org.apache.batik.bridge.SVGAnimationEngine.AnimatableNumberListValueFactory
-
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Enclosing class:
- SVGAnimationEngine
protected static class SVGAnimationEngine.AnimatableNumberListValueFactory extends java.lang.Object implements SVGAnimationEngine.Factory
Factory class forAnimatableNumberListValue
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected NumberListParser
parser
Parser for number lists.protected FloatArrayProducer
producer
The producer class that accumulates the numbers.
-
Constructor Summary
Constructors Constructor Description AnimatableNumberListValueFactory()
Creates a new AnimatableNumberListValueFactory.
-
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 NumberListParser parser
Parser for number lists.
-
producer
protected FloatArrayProducer producer
The producer class that accumulates the numbers.
-
-
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 number lists aren't used in CSS values.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
-