Localizable, Parserpublic class AngleParser extends NumberParser
| Modifier and Type | Field | Description |
|---|---|---|
protected AngleHandler |
angleHandler |
The angle handler used to report parse events.
|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader| Constructor | Description |
|---|---|
AngleParser() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doParse() |
Parses the current reader representing an angle.
|
AngleHandler |
getAngleHandler() |
Returns the angle handler in use.
|
void |
setAngleHandler(AngleHandler handler) |
Allows an application to register an angle handler.
|
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesbuildFloat, parseFloatprotected AngleHandler angleHandler
public void setAngleHandler(AngleHandler handler)
If the application does not register a handler, all events reported by the parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.
handler - The transform list handler.public AngleHandler getAngleHandler()
protected void doParse()
throws ParseException,
java.io.IOException
doParse in class AbstractParserParseExceptionjava.io.IOExceptionCopyright ? 2018 Apache Software Foundation. All Rights Reserved.