org.jfree.xml.parser.coretypes

Class RenderingHintsReadHandler

Implemented Interfaces:
XmlReadHandler

public class RenderingHintsReadHandler
extends AbstractXmlReadHandler

A read handler that can parse the XML element for a RenderingHints collection.

Constructor Summary

RenderingHintsReadHandler()
Creates a new read handler.

Method Summary

protected void
doneParsing()
Done parsing.
protected XmlReadHandler
getHandlerForChild(String tagName, Attributes atts)
Returns the handler for a child element.
Object
getObject()
Returns the object for this element.
protected void
startParsing(Attributes attrs)
Starts parsing.

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

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

Constructor Details

RenderingHintsReadHandler

public RenderingHintsReadHandler()
Creates a new read handler.

Method Details

doneParsing

protected void doneParsing()
            throws SAXException,
                   XmlReaderException
Done parsing.
Overrides:
doneParsing in interface AbstractXmlReadHandler
Throws:
XmlReaderException - if there is a reader error.

getHandlerForChild

protected XmlReadHandler getHandlerForChild(String tagName,
                                            Attributes atts)
            throws XmlReaderException,
                   SAXException
Returns the handler for a child element.
Overrides:
getHandlerForChild in interface AbstractXmlReadHandler
Parameters:
tagName - the tag name.
atts - the attributes.
Returns:
the handler.
Throws:
XmlReaderException - if there is a reader error.

getObject

public Object getObject()
            throws XmlReaderException
Returns the object for this element.
Specified by:
getObject in interface XmlReadHandler
Returns:
the object.
Throws:
XmlReaderException - if there is a parsing error.

startParsing

protected void startParsing(Attributes attrs)
            throws SAXException
Starts parsing.
Overrides:
startParsing in interface AbstractXmlReadHandler
Parameters:
attrs - the attributes.