java.lang.Object
org.apache.batik.parser.AbstractParser
org.apache.batik.parser.LengthParser
org.apache.batik.parser.LengthListParser
- All Implemented Interfaces:
- org.apache.batik.i18n.Localizable, Parser
- public class LengthListParser
- extends LengthParser
This class implements an event-based parser for the SVG length
list values.
- Version:
- $Id: LengthListParser.java,v 1.9 2004/08/18 07:14:47 vhardy Exp $
| Methods inherited from class org.apache.batik.parser.AbstractParser |
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LengthListParser
public LengthListParser()
- Creates a new LengthListParser.
setLengthListHandler
public void setLengthListHandler(LengthListHandler handler)
- Allows an application to register a length list 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.
getLengthListHandler
public LengthListHandler getLengthListHandler()
- Returns the length list handler in use.
doParse
protected void doParse()
throws ParseException,
java.io.IOException
- Parses the given reader.
- Overrides:
doParse in class LengthParser