Package org.apache.batik.parser
Class TimingSpecifierListParser
java.lang.Object
org.apache.batik.parser.AbstractParser
org.apache.batik.parser.TimingParser
org.apache.batik.parser.TimingSpecifierParser
org.apache.batik.parser.TimingSpecifierListParser
- All Implemented Interfaces:
Localizable
,Parser
This class implements an event-based parser for SMIL timing specifier
list values.
-
Field Summary
Fields inherited from class org.apache.batik.parser.TimingSpecifierParser
timingSpecifierHandler
Fields inherited from class org.apache.batik.parser.TimingParser
TIME_ACCESSKEY, TIME_ACCESSKEY_SVG12, TIME_EVENTBASE, TIME_INDEFINITE, TIME_MEDIA_MARKER, TIME_OFFSET, TIME_REPEAT, TIME_SYNCBASE, TIME_WALLCLOCK, useSVG11AccessKeys, useSVG12AccessKeys
Fields inherited from class org.apache.batik.parser.AbstractParser
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader
-
Constructor Summary
ConstructorsConstructorDescriptionTimingSpecifierListParser
(boolean useSVG11AccessKeys, boolean useSVG12AccessKeys) Creates a new TimingSpecifierListParser. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doParse()
Parses a timing specifier list.Returns the parse event handler in use.void
Registers a parse event handler.Methods inherited from class org.apache.batik.parser.TimingSpecifierParser
getTimingSpecifierHandler, handleTimingSpecifier, setTimingSpecifierHandler
Methods inherited from class org.apache.batik.parser.TimingParser
parseClockValue, parseDigits, parseFraction, parseIDValue, parseName, parseOffset, parseTimingSpecifier, parseUnit, parseWallclockValue
Methods inherited from class org.apache.batik.parser.AbstractParser
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces
-
Constructor Details
-
TimingSpecifierListParser
public TimingSpecifierListParser(boolean useSVG11AccessKeys, boolean useSVG12AccessKeys) Creates a new TimingSpecifierListParser.- Parameters:
useSVG11AccessKeys
- allows the use of accessKey() timing specifiers with a single characteruseSVG12AccessKeys
- allows the use of accessKey() with a DOM 3 key name
-
-
Method Details
-
setTimingSpecifierListHandler
Registers a parse event handler. -
getTimingSpecifierListHandler
Returns the parse event handler in use. -
doParse
Parses a timing specifier list.- Overrides:
doParse
in classTimingSpecifierParser
- Throws:
ParseException
IOException
-