public class PathParser extends NumberParser
| Modifier and Type | Field and Description |
|---|---|
protected PathHandler |
pathHandler
The path handler used to report parse events.
|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader| Constructor and Description |
|---|
PathParser()
Creates a new PathParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_parsel(boolean expectNumber) |
protected void |
_parseL(boolean expectNumber) |
protected void |
doParse()
Method responsible for actually parsing data after AbstractParser
has initialized itself.
|
PathHandler |
getPathHandler()
Returns the path handler in use.
|
protected void |
parsea()
Parses a 'a' command.
|
protected void |
parseA()
Parses a 'A' command.
|
protected void |
parsec()
Parses a 'c' command.
|
protected void |
parseC()
Parses a 'C' command.
|
protected void |
parseh()
Parses a 'h' command.
|
protected void |
parseH()
Parses a 'H' command.
|
protected void |
parsel()
Parses a 'l' command.
|
protected void |
parseL()
Parses a 'L' command.
|
protected void |
parsem()
Parses a 'm' command.
|
protected void |
parseM()
Parses a 'M' command.
|
protected void |
parseq()
Parses a 'q' command.
|
protected void |
parseQ()
Parses a 'Q' command.
|
protected void |
parses()
Parses a 's' command.
|
protected void |
parseS()
Parses a 'S' command.
|
protected void |
parset()
Parses a 't' command.
|
protected void |
parseT()
Parses a 'T' command.
|
protected void |
parsev()
Parses a 'v' command.
|
protected void |
parseV()
Parses a 'V' command.
|
protected void |
reportUnexpected(int ch) |
void |
setPathHandler(PathHandler handler)
Allows an application to register a path handler.
|
protected boolean |
skipCommaSpaces2()
Skips the whitespaces and an optional comma.
|
protected void |
skipSubPath()
Skips a sub-path.
|
buildFloat, parseFloatcreateErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpacesprotected PathHandler pathHandler
public void setPathHandler(PathHandler 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 PathHandler getPathHandler()
protected void doParse()
throws ParseException,
IOException
AbstractParserdoParse in class AbstractParserParseExceptionIOExceptionprotected void parsem()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseM()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parsel()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void _parsel(boolean expectNumber)
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseL()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void _parseL(boolean expectNumber)
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseh()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseH()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parsev()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseV()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parsec()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseC()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseq()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseQ()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parses()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseS()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parset()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseT()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parsea()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void parseA()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void skipSubPath()
throws ParseException,
IOException
ParseExceptionIOExceptionprotected void reportUnexpected(int ch)
throws ParseException,
IOException
ParseExceptionIOExceptionprotected boolean skipCommaSpaces2()
throws IOException
IOExceptionCopyright © 2000–2020 Apache Software Foundation. All rights reserved.