Localizable, ParserLengthPairListParserpublic class LengthListParser extends LengthParser
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, readerlengthHandler| Constructor | Description |
|---|---|
LengthListParser() |
Creates a new LengthListParser.
|
| Modifier and Type | Method | 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.
|
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesgetLengthHandler, parseLength, setLengthHandlerpublic 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,
java.io.IOException
doParse in class LengthParserParseExceptionjava.io.IOExceptionCopyright ? 2018 Apache Software Foundation. All Rights Reserved.