|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.xml.parser.AbstractXmlReadHandler org.jfree.xml.parser.coretypes.GradientPaintReadHandler
public class GradientPaintReadHandler
A SAX handler for reading a GradientPaint
from an XML element.
Constructor Summary | |
---|---|
GradientPaintReadHandler()
Creates a new handler. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler |
---|
characters, endElement, getRootHandler, getTagName, init, startElement, startParsing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradientPaintReadHandler()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |