org.apache.batik.bridge

Class SVGAnimationEngine.AnimatableNumberListValueFactory

protected class SVGAnimationEngine.AnimatableNumberListValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for AnimatableNumberListValues.
Field Summary
protected NumberListParserparser
Parser for number lists.
protected FloatArrayProducerproducer
The producer class that accumulates the numbers.
Constructor Summary
AnimatableNumberListValueFactory()
Creates a new AnimatableNumberListValueFactory.
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 NumberListParser parser
Parser for number lists.

producer

protected FloatArrayProducer producer
The producer class that accumulates the numbers.

Constructor Detail

AnimatableNumberListValueFactory

public AnimatableNumberListValueFactory()
Creates a new AnimatableNumberListValueFactory.

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