XmlReadHandlerpublic class GradientPaintReadHandler extends AbstractXmlReadHandler
GradientPaint from an XML element.| Constructor | Description |
|---|---|
GradientPaintReadHandler() |
Creates a new handler.
|
| Modifier and Type | Method | 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, startParsingpublic 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 AbstractXmlReadHandlertagName - 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 AbstractXmlReadHandlerXmlReaderException - if there is a parsing error.