Package org.apache.batik.bridge
Class SVGAnimationEngine.AnimatableLengthValueFactory
- java.lang.Object
-
- org.apache.batik.bridge.SVGAnimationEngine.AnimatableLengthValueFactory
-
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Enclosing class:
- SVGAnimationEngine
protected static class SVGAnimationEngine.AnimatableLengthValueFactory extends java.lang.Object implements SVGAnimationEngine.Factory
Factory class forAnimatableLengthValue
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected LengthHandler
handler
Handler for the length parser.protected LengthParser
parser
Parser for lengths.protected short
type
The parsed length unit type.protected float
value
The parsed length value.
-
Constructor Summary
Constructors Constructor Description AnimatableLengthValueFactory()
Creates a new AnimatableLengthValueFactory.
-
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
-
type
protected short type
The parsed length unit type.
-
value
protected float value
The parsed length value.
-
parser
protected LengthParser parser
Parser for lengths.
-
handler
protected LengthHandler handler
Handler for the length parser.
-
-
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
.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
-