org.apache.batik.bridge

Class SVGAnimationEngine.AnimatableLengthListValueFactory

protected class SVGAnimationEngine.AnimatableLengthListValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for AnimatableLengthListValues.
Field Summary
protected LengthListParserparser
Parser for length lists.
protected LengthArrayProducerproducer
The producer class that accumulates the lengths.
Constructor Summary
AnimatableLengthListValueFactory()
Creates a new AnimatableLengthListValueFactory.
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

parser

protected LengthListParser parser
Parser for length lists.

producer

protected LengthArrayProducer producer
The producer class that accumulates the lengths.

Constructor Detail

AnimatableLengthListValueFactory

public AnimatableLengthListValueFactory()
Creates a new AnimatableLengthListValueFactory.

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. Returns null since point lists aren't used in CSS values.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.