|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.parser.AbstractParser
org.apache.batik.parser.NumberParser
org.apache.batik.parser.NumberListParser
public class NumberListParser
This class implements an event-based parser for the SVG Number list values.
Field Summary | |
---|---|
protected NumberListHandler |
numberListHandler
The number list handler used to report parse events. |
Fields inherited from class org.apache.batik.parser.AbstractParser |
---|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader |
Constructor Summary | |
---|---|
NumberListParser()
Creates a new instance of NumberListParser |
Method Summary | |
---|---|
protected void |
doParse()
Parses the given reader. |
NumberListHandler |
getNumberListHandler()
Returns the number list handler in use. |
void |
setNumberListHandler(NumberListHandler handler)
Allows an application to register a number list handler. |
Methods inherited from class org.apache.batik.parser.NumberParser |
---|
buildFloat, parseFloat |
Methods inherited from class org.apache.batik.parser.AbstractParser |
---|
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NumberListHandler numberListHandler
Constructor Detail |
---|
public NumberListParser()
Method Detail |
---|
public void setNumberListHandler(NumberListHandler 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 number list handler.public NumberListHandler getNumberListHandler()
protected void doParse() throws ParseException, IOException
doParse
in class AbstractParser
ParseException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |