public class GradientPaintReadHandler extends AbstractXmlReadHandler
GradientPaint
from an XML element.Constructor and Description |
---|
GradientPaintReadHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doneParsing()
At the end of parsing the element, the gradient paint is constructed.
|
protected XmlReadHandler |
getHandlerForChild(String tagName,
Attributes atts)
Returns the handler for a child element.
|
Object |
getObject()
Returns the gradient paint under construction.
|
characters, endElement, getRootHandler, getTagName, init, startElement, startParsing
public GradientPaintReadHandler()
public Object getObject()
protected XmlReadHandler getHandlerForChild(String tagName, Attributes atts) throws SAXException, XmlReaderException
getHandlerForChild
in class AbstractXmlReadHandler
tagName
- the tag name.atts
- the attributes.SAXException
- to indicate a parsing error.XmlReaderException
- if there is a reader error.protected void doneParsing() throws XmlReaderException
doneParsing
in class AbstractXmlReadHandler
XmlReaderException
- if there is a parsing error.Copyright © 2001–2018 JFree.org. All rights reserved.