org.jfree.xml.writer.coretypes

Class ColorWriteHandler

Implemented Interfaces:
XmlWriteHandler

public class ColorWriteHandler
extends AbstractXmlWriteHandler

A handler for writing a Color object.

Constructor Summary

ColorWriteHandler()
Default constructor.

Method Summary

void
write(String tagName, Object object, XMLWriter writer, String mPlexAttribute, String mPlexValue)
Performs the writing of a Color object.

Methods inherited from class org.jfree.xml.writer.AbstractXmlWriteHandler

getRootHandler, setRootHandler

Constructor Details

ColorWriteHandler

public ColorWriteHandler()
Default constructor.

Method Details

write

public void write(String tagName,
                  Object object,
                  XMLWriter writer,
                  String mPlexAttribute,
                  String mPlexValue)
            throws IOException,
                   XMLWriterException
Performs the writing of a Color object.
Specified by:
write in interface XmlWriteHandler
Parameters:
tagName - the tag name.
object - the Color object.
writer - the writer.
mPlexAttribute - ??.
mPlexValue - ??.
Throws:
XMLWriterException - if there is a writer error.