public class ClockParser extends TimingParser
| Modifier and Type | Field and Description |
|---|---|
protected ClockHandler |
clockHandler
The handler used to report parse events.
|
protected boolean |
parseOffset
Whether this parser should parse offsets rather than clock values.
|
TIME_ACCESSKEY, TIME_ACCESSKEY_SVG12, TIME_EVENTBASE, TIME_INDEFINITE, TIME_MEDIA_MARKER, TIME_OFFSET, TIME_REPEAT, TIME_SYNCBASE, TIME_WALLCLOCK, useSVG11AccessKeys, useSVG12AccessKeysBUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader| Constructor and Description |
|---|
ClockParser(boolean parseOffset)
Creates a new ClockParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse()
Parses a clock value.
|
ClockHandler |
getClockHandler()
Returns the parse event handler in use.
|
void |
setClockHandler(ClockHandler handler)
Registers a parse event handler.
|
parseClockValue, parseDigits, parseFraction, parseIDValue, parseName, parseOffset, parseTimingSpecifier, parseUnit, parseWallclockValuecreateErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesprotected ClockHandler clockHandler
protected boolean parseOffset
public void setClockHandler(ClockHandler handler)
public ClockHandler getClockHandler()
protected void doParse()
throws ParseException,
IOException
doParse in class AbstractParserParseExceptionIOExceptionCopyright © 2000–2021 Apache Software Foundation. All rights reserved.