|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.parser.AbstractParser | +--org.apache.batik.parser.NumberParser | +--org.apache.batik.parser.LengthParser | +--org.apache.batik.parser.LengthListParser
This class implements an event-based parser for the SVG length list values.
Fields inherited from class org.apache.batik.parser.LengthParser |
eRead, lengthHandler |
Fields inherited from class org.apache.batik.parser.NumberParser |
buffer, bufferSize |
Fields inherited from class org.apache.batik.parser.AbstractParser |
BUNDLE_CLASSNAME, column, count, current, errorHandler, line, localizableSupport, position, previous, reader |
Constructor Summary | |
LengthListParser()
Creates a new LengthListParser. |
Method Summary | |
LengthListHandler |
getLengthListHandler()
Returns the length list handler in use. |
void |
parse(java.io.Reader r)
Parses the given reader. |
void |
setLengthListHandler(LengthListHandler handler)
Allows an application to register a length list handler. |
Methods inherited from class org.apache.batik.parser.LengthParser |
getLengthHandler, parseLength, readNumber, setLengthHandler |
Methods inherited from class org.apache.batik.parser.NumberParser |
bufferize, getBufferContent, parseFloat |
Methods inherited from class org.apache.batik.parser.AbstractParser |
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, initialize, read, reportError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LengthListParser()
Method Detail |
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()
public void parse(java.io.Reader r) throws ParseException
parse
in class LengthParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |