org.apache.batik.anim.timing

Class TimingSpecifierListProducer

public class TimingSpecifierListProducer extends DefaultTimingSpecifierListHandler

A TimingSpecifierListHandler that creates TimingSpecifiers.
Field Summary
protected booleanisBegin
Whether the created TimingSpecifiers should be begin times.
protected TimedElementowner
The owner TimedElement used when creating the TimingSpecifiers.
protected LinkedListtimingSpecifiers
The list of parsed timing specifiers.
Constructor Summary
TimingSpecifierListProducer(TimedElement owner, boolean isBegin)
Creates a new TimingSpecifierListProducer.
Method Summary
voidaccesskey(float offset, char key)
Invoked when an accesskey value timing specifier is parsed.
voidaccessKeySVG12(float offset, String keyName)
Invoked when an SVG 1.2 accessKey value timing specifier is parsed.
voideventbase(float offset, String eventbaseID, String eventType)
Invoked when an eventbase value timing specifier is parsed.
TimingSpecifier[]getTimingSpecifiers()
Returns an array of the parsed TimingSpecifiers.
voidindefinite()
Invoked when an indefinite value timing specifier is parsed.
voidmediaMarker(String syncbaseID, String markerName)
Invoked when a media marker value timing specifier is parsed.
voidoffset(float offset)
Invoked when an offset value timing specifier is parsed.
static TimingSpecifier[]parseTimingSpecifierList(TimedElement owner, boolean isBegin, String spec, boolean useSVG11AccessKeys, boolean useSVG12AccessKeys)
Parses a timing specifier list.
voidrepeat(float offset, String syncbaseID)
Invoked when a repeat value timing specifier with no iteration is parsed.
voidrepeat(float offset, String syncbaseID, int repeatIteration)
Invoked when a repeat value timing specifier with an iteration is parsed.
voidsyncbase(float offset, String syncbaseID, String timeSymbol)
Invoked when a syncbase value timing specifier is parsed.
voidwallclock(Calendar time)
Invoked when a wallclock value timing specifier is parsed.

Field Detail

isBegin

protected boolean isBegin
Whether the created TimingSpecifiers should be begin times.

owner

protected TimedElement owner
The owner TimedElement used when creating the TimingSpecifiers.

timingSpecifiers

protected LinkedList timingSpecifiers
The list of parsed timing specifiers.

Constructor Detail

TimingSpecifierListProducer

public TimingSpecifierListProducer(TimedElement owner, boolean isBegin)
Creates a new TimingSpecifierListProducer.

Method Detail

accesskey

public void accesskey(float offset, char key)
Invoked when an accesskey value timing specifier is parsed.

accessKeySVG12

public void accessKeySVG12(float offset, String keyName)
Invoked when an SVG 1.2 accessKey value timing specifier is parsed.

eventbase

public void eventbase(float offset, String eventbaseID, String eventType)
Invoked when an eventbase value timing specifier is parsed.

getTimingSpecifiers

public TimingSpecifier[] getTimingSpecifiers()
Returns an array of the parsed TimingSpecifiers.

indefinite

public void indefinite()
Invoked when an indefinite value timing specifier is parsed.

mediaMarker

public void mediaMarker(String syncbaseID, String markerName)
Invoked when a media marker value timing specifier is parsed.

offset

public void offset(float offset)
Invoked when an offset value timing specifier is parsed.

parseTimingSpecifierList

public static TimingSpecifier[] parseTimingSpecifierList(TimedElement owner, boolean isBegin, String spec, boolean useSVG11AccessKeys, boolean useSVG12AccessKeys)
Parses a timing specifier list.

repeat

public void repeat(float offset, String syncbaseID)
Invoked when a repeat value timing specifier with no iteration is parsed.

repeat

public void repeat(float offset, String syncbaseID, int repeatIteration)
Invoked when a repeat value timing specifier with an iteration is parsed.

syncbase

public void syncbase(float offset, String syncbaseID, String timeSymbol)
Invoked when a syncbase value timing specifier is parsed.

wallclock

public void wallclock(Calendar time)
Invoked when a wallclock value timing specifier is parsed.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.