org.apache.batik.bridge

Class SVGAnimationEngine.AnimatableLengthValueFactory

protected class SVGAnimationEngine.AnimatableLengthValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for AnimatableLengthValues.
Field Summary
protected LengthHandlerhandler
Handler for the length parser.
protected LengthParserparser
Parser for lengths.
protected shorttype
The parsed length unit type.
protected floatvalue
The parsed length value.
Constructor Summary
AnimatableLengthValueFactory()
Creates a new AnimatableLengthValueFactory.
Method Summary
AnimatableValuecreateValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)
Creates a new AnimatableValue from a string.
AnimatableValuecreateValue(AnimationTarget target, String pn, Value v)
Creates a new AnimatableValue from a CSS Value.

Field Detail

handler

protected LengthHandler handler
Handler for the length parser.

parser

protected LengthParser parser
Parser for lengths.

type

protected short type
The parsed length unit type.

value

protected float value
The parsed length value.

Constructor Detail

AnimatableLengthValueFactory

public AnimatableLengthValueFactory()
Creates a new AnimatableLengthValueFactory.

Method Detail

createValue

public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)
Creates a new AnimatableValue from a string.

createValue

public AnimatableValue createValue(AnimationTarget target, String pn, Value v)
Creates a new AnimatableValue from a CSS Value.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.