public class LengthListParser extends LengthParser
lengthHandler
BUNDLE_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, setLengthHandler
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces
public 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 LengthParser
ParseException
java.io.IOException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.