org.apache.batik.bridge

Class SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory

protected class SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for AnimatablePreserveAspectRatioValues.
Field Summary
protected shortalign
The parsed 'align' value.
protected DefaultPreserveAspectRatioHandlerhandler
Handler for the preserveAspectRatio parser.
protected shortmeetOrSlice
The parsed 'meetOrSlice' value.
protected PreserveAspectRatioParserparser
Parser for preserveAspectRatio values.
Constructor Summary
AnimatablePreserveAspectRatioValueFactory()
Creates a new AnimatablePreserveAspectRatioValueFactory.
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

align

protected short align
The parsed 'align' value.

handler

protected DefaultPreserveAspectRatioHandler handler
Handler for the preserveAspectRatio parser.

meetOrSlice

protected short meetOrSlice
The parsed 'meetOrSlice' value.

parser

protected PreserveAspectRatioParser parser
Parser for preserveAspectRatio values.

Constructor Detail

AnimatablePreserveAspectRatioValueFactory

public AnimatablePreserveAspectRatioValueFactory()
Creates a new AnimatablePreserveAspectRatioValueFactory.

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