public class LengthListParser extends LengthParser
lengthHandlerBUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader| Constructor and Description |
|---|
LengthListParser()
Creates a new LengthListParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse()
Parses the given reader.
|
LengthListHandler |
getLengthListHandler()
Returns the length list handler in use.
|
void |
setLengthListHandler(LengthListHandler handler)
Allows an application to register a length list handler.
|
getLengthHandler, parseLength, setLengthHandlercreateErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacespublic void setLengthListHandler(LengthListHandler 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 LengthListHandler getLengthListHandler()
protected void doParse()
throws ParseException,
IOException
doParse in class LengthParserParseExceptionIOExceptionCopyright © 2000–2020 Apache Software Foundation. All rights reserved.