org.jfree.xml.parser.coretypes

Class FontReadHandler

Implemented Interfaces:
XmlReadHandler

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

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

Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler

characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement, startParsing

Constructor Details

FontReadHandler

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

Method Details

getObject

public Object getObject()
Returns the font under construction.
Specified by:
getObject in interface XmlReadHandler
Returns:
the font.

startParsing

protected void startParsing(Attributes attrs)
            throws SAXException
Called at the start of parsing a font element, this method reads the attributes and constructs the font.
Overrides:
startParsing in interface AbstractXmlReadHandler
Parameters:
attrs - the attributes.