public class ColorReadHandler extends AbstractXmlReadHandler
Color
objects from an XML element.Constructor and Description |
---|
ColorReadHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the color under construction.
|
protected void |
startParsing(Attributes attrs)
|
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
protected void startParsing(Attributes attrs) throws SAXException
Color
element, this method reads the attributes and
constructs the Color
.startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.SAXException
- to indicate a parsing error.public Object getObject()
Copyright © 2001–2018 JFree.org. All rights reserved.