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 forAnimatableLengthValues.
-
-
Field Summary
Fields Modifier and Type Field Description protected LengthHandlerhandlerHandler for the length parser.protected LengthParserparserParser for lengths.protected shorttypeThe parsed length unit type.protected floatvalueThe 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 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
-
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:
createValuein interfaceSVGAnimationEngine.Factory
-
createValue
public AnimatableValue createValue(AnimationTarget target, java.lang.String pn, Value v)
Creates a new AnimatableValue from a CSSValue.- Specified by:
createValuein interfaceSVGAnimationEngine.Factory
-
-