| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jfree.xml.parser.AbstractXmlReadHandlerorg.jfree.xml.parser.coretypes.GradientPaintReadHandlerpublic class GradientPaintReadHandlerextends AbstractXmlReadHandlerGradientPaint from an XML element.
Constructor Summary | |
| |
Method Summary | |
protected void |
|
protected XmlReadHandler |
|
Object |
|
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler | |
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement, startParsing | |
protected void doneParsing() throws XmlReaderException
At the end of parsing the element, the gradient paint is constructed.
- Overrides:
- doneParsing in interface AbstractXmlReadHandler
- Throws:
XmlReaderException- if there is a parsing error.
protected XmlReadHandler getHandlerForChild(String tagName, Attributes atts) throws SAXException, XmlReaderException
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.
public Object getObject()
Returns the gradient paint under construction.
- Specified by:
- getObject in interface XmlReadHandler
- Returns:
- the gradient paint.