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(java.lang.String tagName,
org.xml.sax.Attributes atts)
Returns the handler for a child element.
|
java.lang.Object |
getObject()
Returns the gradient paint under construction.
|
characters, endElement, getRootHandler, getTagName, init, startElement, startParsing
public GradientPaintReadHandler()
public java.lang.Object getObject()
protected XmlReadHandler getHandlerForChild(java.lang.String tagName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException, XmlReaderException
getHandlerForChild
in class AbstractXmlReadHandler
tagName
- the tag name.atts
- the attributes.org.xml.sax.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.