Package org.jfree.xml.writer.coretypes
Class FontWriteHandler
- java.lang.Object
-
- org.jfree.xml.writer.AbstractXmlWriteHandler
-
- org.jfree.xml.writer.coretypes.FontWriteHandler
-
- All Implemented Interfaces:
XmlWriteHandler
public class FontWriteHandler extends AbstractXmlWriteHandler
A handler for writingFont
objects.
-
-
Constructor Summary
Constructors Constructor Description FontWriteHandler()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
getFontStyle(java.awt.Font font)
void
write(java.lang.String tagName, java.lang.Object object, XMLWriter writer, java.lang.String mPlexAttribute, java.lang.String mPlexValue)
Performs the writing of aFont
object.-
Methods inherited from class org.jfree.xml.writer.AbstractXmlWriteHandler
getRootHandler, setRootHandler
-
-
-
-
Method Detail
-
write
public void write(java.lang.String tagName, java.lang.Object object, XMLWriter writer, java.lang.String mPlexAttribute, java.lang.String mPlexValue) throws java.io.IOException, XMLWriterException
Performs the writing of aFont
object.- Parameters:
tagName
- the tag name.object
- theFont
object.writer
- the writer.mPlexAttribute
- ??.mPlexValue
- ??.- Throws:
java.io.IOException
- if there is an I/O error.XMLWriterException
- if there is a writer error.
-
getFontStyle
private java.lang.String getFontStyle(java.awt.Font font)
-
-