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 static class SVGAnimationEngine.AnimatableLengthListValueFactory extends java.lang.Object implements SVGAnimationEngine.Factory
Factory class forAnimatableLengthListValues.
-
-
Field Summary
Fields Modifier and Type Field Description protected LengthListParserparserParser for length lists.protected LengthArrayProducerproducerThe 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 AnimatableValuecreateValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)Creates a new AnimatableValue from a string.AnimatableValuecreateValue(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:
createValuein 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:
createValuein interfaceSVGAnimationEngine.Factory
-
-