org.jfree.xml.parser.coretypes

Class BasicStrokeReadHandler

public class BasicStrokeReadHandler extends AbstractXmlReadHandler

A SAX handler for reading a BasicStroke object from XML.

To do: this should have a multiplexer in front like the PaintReadHandler

Constructor Summary
BasicStrokeReadHandler()
Creates a new handler.
Method Summary
ObjectgetObject()
Returns the stroke under construction.
protected voidstartParsing(Attributes attrs)
Called at the start of parsing a BasicStroke element, this method reads the attributes and constructs the stroke.

Constructor Detail

BasicStrokeReadHandler

public BasicStrokeReadHandler()
Creates a new handler.

Method Detail

getObject

public Object getObject()
Returns the stroke under construction.

Returns: the stroke.

startParsing

protected void startParsing(Attributes attrs)
Called at the start of parsing a BasicStroke element, this method reads the attributes and constructs the stroke.

Parameters: attrs the attributes.

Throws: SAXException to indicate a parsing error.