org.apache.batik.parser

Class LengthListParser

public class LengthListParser extends LengthParser

This class implements an event-based parser for the SVG length list values.
Constructor Summary
LengthListParser()
Creates a new LengthListParser.
Method Summary
protected voiddoParse()
Parses the given reader.
LengthListHandlergetLengthListHandler()
Returns the length list handler in use.
voidsetLengthListHandler(LengthListHandler handler)
Allows an application to register a length list handler.

Constructor Detail

LengthListParser

public LengthListParser()
Creates a new LengthListParser.

Method Detail

doParse

protected void doParse()
Parses the given reader.

getLengthListHandler

public LengthListHandler getLengthListHandler()
Returns the length list handler in use.

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.

Parameters: handler The transform list handler.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.