org.apache.batik.bridge
Class SVGAnimationEngine.AnimatableLengthListValueFactory

java.lang.Object
  extended by org.apache.batik.bridge.SVGAnimationEngine.AnimatableLengthListValueFactory
All Implemented Interfaces:
SVGAnimationEngine.Factory
Enclosing class:
SVGAnimationEngine

protected class SVGAnimationEngine.AnimatableLengthListValueFactory
extends Object
implements SVGAnimationEngine.Factory

Factory class for AnimatableLengthListValues.


Field Summary
protected  LengthListParser parser
          Parser for length lists.
protected  LengthArrayProducer producer
          The producer class that accumulates the lengths.
 
Constructor Summary
SVGAnimationEngine.AnimatableLengthListValueFactory()
          Creates a new AnimatableLengthListValueFactory.
 
Method Summary
 AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)
          Creates a new AnimatableValue from a string.
 AnimatableValue createValue(AnimationTarget target, String pn, Value v)
          Creates a new AnimatableValue from a CSS Value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

protected LengthListParser parser
Parser for length lists.


producer

protected LengthArrayProducer producer
The producer class that accumulates the lengths.

Constructor Detail

SVGAnimationEngine.AnimatableLengthListValueFactory

public SVGAnimationEngine.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.

Specified by:
createValue in interface SVGAnimationEngine.Factory

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.

Specified by:
createValue in interface SVGAnimationEngine.Factory


Copyright © 2008 Apache Software Foundation. All Rights Reserved.