org.jfree.xml.parser.coretypes

Class FontReadHandler

public class FontReadHandler extends AbstractXmlReadHandler

A SAX handler for reading a font definition.
Constructor Summary
FontReadHandler()
Creates a new SAX handler for reading a Font from XML.
Method Summary
ObjectgetObject()
Returns the font under construction.
protected voidstartParsing(Attributes attrs)
Called at the start of parsing a font element, this method reads the attributes and constructs the font.

Constructor Detail

FontReadHandler

public FontReadHandler()
Creates a new SAX handler for reading a Font from XML.

Method Detail

getObject

public Object getObject()
Returns the font under construction.

Returns: the font.

startParsing

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

Parameters: attrs the attributes.

Throws: SAXException to indicate a parsing error.