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, startParsingpublic GradientPaintReadHandler()
public Object getObject()
protected XmlReadHandler getHandlerForChild(String tagName, Attributes atts) throws SAXException, XmlReaderException
getHandlerForChild in class AbstractXmlReadHandlertagName - 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 AbstractXmlReadHandlerXmlReaderException - if there is a parsing error.Copyright © 2009-2012 jtstand.com. All Rights Reserved.