Package org.jfree.xml.writer.coretypes
Class ColorWriteHandler
java.lang.Object
org.jfree.xml.writer.AbstractXmlWriteHandler
org.jfree.xml.writer.coretypes.ColorWriteHandler
- All Implemented Interfaces:
XmlWriteHandler
A handler for writing a
Color
object.-
Constructor Summary
Constructors -
Method Summary
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 aColor
object.- Parameters:
tagName
- the tag name.object
- theColor
object.writer
- the writer.mPlexAttribute
- ??.mPlexValue
- ??.- Throws:
IOException
- if there is an I/O error.XMLWriterException
- if there is a writer error.
-
encodeColor
-
encodeInt
-