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, startElementprotected void startParsing(Attributes attrs) throws SAXException
Color element, this method reads the attributes and
constructs the Color.startParsing in class AbstractXmlReadHandlerattrs - the attributes.SAXException - to indicate a parsing error.public Object getObject()
Copyright © 2009-2012 jtstand.com. All Rights Reserved.