Localizable, ParserTimingSpecifierListParserpublic class TimingSpecifierParser extends TimingParser
| Modifier and Type | Field | Description |
|---|---|---|
protected TimingSpecifierHandler |
timingSpecifierHandler |
The handler used to report parse events.
|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, readerTIME_ACCESSKEY, TIME_ACCESSKEY_SVG12, TIME_EVENTBASE, TIME_INDEFINITE, TIME_MEDIA_MARKER, TIME_OFFSET, TIME_REPEAT, TIME_SYNCBASE, TIME_WALLCLOCK, useSVG11AccessKeys, useSVG12AccessKeys| Constructor | Description |
|---|---|
TimingSpecifierParser(boolean useSVG11AccessKeys,
boolean useSVG12AccessKeys) |
Creates a new TimingSpecifierParser.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doParse() |
Parses a timing specifier.
|
TimingSpecifierHandler |
getTimingSpecifierHandler() |
Returns the parse event handler in use.
|
protected void |
handleTimingSpecifier(java.lang.Object[] spec) |
Calls the appropriate parse event handler function for the given
parsed timing specifier.
|
void |
setTimingSpecifierHandler(TimingSpecifierHandler handler) |
Registers a parse event handler.
|
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseClockValue, parseDigits, parseFraction, parseIDValue, parseName, parseOffset, parseTimingSpecifier, parseUnit, parseWallclockValueprotected TimingSpecifierHandler timingSpecifierHandler
public TimingSpecifierParser(boolean useSVG11AccessKeys,
boolean useSVG12AccessKeys)
useSVG11AccessKeys - allows the use of accessKey() timing
specifiers with a single characteruseSVG12AccessKeys - allows the use of accessKey() with a
DOM 3 key namepublic void setTimingSpecifierHandler(TimingSpecifierHandler handler)
public TimingSpecifierHandler getTimingSpecifierHandler()
protected void doParse()
throws ParseException,
java.io.IOException
doParse in class AbstractParserParseExceptionjava.io.IOExceptionprotected void handleTimingSpecifier(java.lang.Object[] spec)
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.