public class PathParser extends NumberParser
| Modifier and Type | Field and Description | 
|---|---|
| protected PathHandler | pathHandlerThe 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,
                       java.io.IOException
AbstractParserdoParse in class AbstractParserParseExceptionjava.io.IOExceptionprotected void parsem()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseM()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parsel()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void _parsel(boolean expectNumber)
                throws ParseException,
                       java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseL()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void _parseL(boolean expectNumber)
                throws ParseException,
                       java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseh()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseH()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parsev()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseV()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parsec()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseC()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseq()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseQ()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parses()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseS()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parset()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseT()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parsea()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void parseA()
               throws ParseException,
                      java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void skipSubPath()
                    throws ParseException,
                           java.io.IOException
ParseExceptionjava.io.IOExceptionprotected void reportUnexpected(int ch)
                         throws ParseException,
                                java.io.IOException
ParseExceptionjava.io.IOExceptionprotected boolean skipCommaSpaces2()
                            throws java.io.IOException
java.io.IOExceptionCopyright © 2022 Apache Software Foundation. All Rights Reserved.