Class FontPersister

  • All Implemented Interfaces:
    com.im.df.api.util.xml.BasicPersisterInit, com.im.df.api.util.xml.IJCPersister, com.im.df.api.util.xml.IJCPersister.Reader, com.im.df.api.util.xml.IJCPersister.Writer, Cloneable

    public class FontPersister
    extends com.im.df.api.util.xml.BasicPersister<Font>
    Persists the Font object. Permits persisting in an attribute, or as an element.
    Author:
    svata
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.im.df.api.util.xml.IJCPersister

        com.im.df.api.util.xml.IJCPersister.FinishableBean, com.im.df.api.util.xml.IJCPersister.Reader, com.im.df.api.util.xml.IJCPersister.Writer
    • Constructor Summary

      Constructors 
      Constructor Description
      FontPersister()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isPrimitive​(Class clazz)  
      Object readAttribute​(Object prototype)  
      protected Object readElement​(Object prototype)  
      protected void writeAttribute()  
      void writeElement()  
      • Methods inherited from class com.im.df.api.util.xml.BasicPersister

        addError, canInstantiate, clearErrors, create, createAttribute, createElement, createInstance, createInstance, createLog, createReader, createState, createWriter, defaultReadBean, defaultWriteBean, enterElement, enterElement, getAttribute, getAttribute, getBean, getBeanClass, getBufferedErrors, getClass, getConfiguredQName, getContext, getCurrentClassLoader, getEnv, getNode, getPersisterRegistry, getPropertyValue, getQName, getStorage, getType, init, leaveElement, loadObject, popElement, pushElement, read, readAttr, readAttr, readAttr, readBeanProperties, readBeanProperty, readCollection, readCollection, readCollection, readCollectionProperty, readMap, readMapProperty, readObjectPolymorphic, readObjectStatic, readPrimitiveProperty, setBean, setBeanClass, setClassBeanInfo, setContext, setEnv, setNode, setPersisterRegistry, setPropertyAttributes, setQName, setStorage, storeObject, throwWrappedIOException, throwWrappedIOException, write, write, write, writeArray, writeAttr, writeAttr, writeAttr, writeAttr, writeAttr, writeCollection, writeCollection, writeCollection, writeMap, writeMap, writeObject, writeObjectPolymorphic, writeObjectStatic, writeProperty, writeSuperclass
    • Constructor Detail

      • FontPersister

        public FontPersister()
    • Method Detail

      • isPrimitive

        public boolean isPrimitive​(Class clazz)
        Specified by:
        isPrimitive in interface com.im.df.api.util.xml.IJCPersister
        Overrides:
        isPrimitive in class com.im.df.api.util.xml.BasicPersister<Font>
      • writeElement

        public void writeElement()
                          throws IOException
        Overrides:
        writeElement in class com.im.df.api.util.xml.BasicPersister<Font>
        Throws:
        IOException
      • writeAttribute

        protected void writeAttribute()
                               throws IOException
        Overrides:
        writeAttribute in class com.im.df.api.util.xml.BasicPersister<Font>
        Throws:
        IOException