org.apache.batik.bridge

Class SVGAnimationEngine.AnimatablePointListValueFactory

protected class SVGAnimationEngine.AnimatablePointListValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for {@link AnimatablePointListValue}s.
Field Summary
protected PointsParserparser
Parser for point lists.
protected FloatArrayProducerproducer
The producer class that accumulates the points.
Constructor Summary
AnimatablePointListValueFactory()
Creates a new AnimatablePointListValueFactory.
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 {@link Value}.

Field Detail

parser

protected PointsParser parser
Parser for point lists.

producer

protected FloatArrayProducer producer
The producer class that accumulates the points.

Constructor Detail

AnimatablePointListValueFactory

public AnimatablePointListValueFactory()
Creates a new AnimatablePointListValueFactory.

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