Package org.jfree.xml.parser.coretypes
Class RenderingHintsReadHandler
java.lang.Object
org.jfree.xml.parser.AbstractXmlReadHandler
org.jfree.xml.parser.coretypes.RenderingHintsReadHandler
- All Implemented Interfaces:
XmlReadHandler
A read handler that can parse the XML element for a
RenderingHints
collection.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ArrayList
The subhandlers.private RenderingHints
The rendering hints under construction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Done parsing.protected XmlReadHandler
getHandlerForChild
(String tagName, Attributes atts) Returns the handler for a child element.Returns the object for this element.protected void
startParsing
(Attributes attrs) Starts parsing.Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, endElement, getRootHandler, getTagName, init, startElement
-
Field Details
-
handlers
The subhandlers. -
renderingHints
The rendering hints under construction.
-
-
Constructor Details
-
RenderingHintsReadHandler
public RenderingHintsReadHandler()Creates a new read handler.
-
-
Method Details
-
startParsing
Starts parsing.- Overrides:
startParsing
in classAbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- never.
-
getHandlerForChild
protected XmlReadHandler getHandlerForChild(String tagName, Attributes atts) throws XmlReaderException, SAXException Returns the handler for a child element.- Overrides:
getHandlerForChild
in classAbstractXmlReadHandler
- Parameters:
tagName
- the tag name.atts
- the attributes.- Returns:
- the handler.
- Throws:
SAXException
- if there is a parsing error.XmlReaderException
- if there is a reader error.
-
doneParsing
Done parsing.- Overrides:
doneParsing
in classAbstractXmlReadHandler
- Throws:
SAXException
- if there is a parsing error.XmlReaderException
- if there is a reader error.
-
getObject
Returns the object for this element.- Returns:
- the object.
- Throws:
XmlReaderException
- if there is a parsing error.
-