com.im.ijc.core/1 5.9.4

com.im.ijc.core.xml.beans
Class FontPersister

java.lang.Object
  extended by com.im.df.api.util.xml.BasicPersister<Font>
      extended by com.im.ijc.core.xml.beans.FontPersister
All Implemented Interfaces:
BasicPersisterInit, StateFactory, StateFactory.Reader, StateFactory.Writer, Cloneable

public class FontPersister
extends BasicPersister<Font>

Persists the Font object. Permits persisting in an attribute, or as an element.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.im.df.api.util.xml.StateFactory
StateFactory.EnvReporter, StateFactory.FinishableBean, StateFactory.Reader, StateFactory.Writer
 
Constructor Summary
FontPersister()
           
 
Method Summary
 Object create()
           
 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, getPropertyValue, getQName, getStorage, getType, init, leaveElement, loadObject, popElement, pushElement, read, readAttr, readAttr, readAttr, readBeanProperties, readBeanProperty, readCollection, readCollection, readCollectionProperty, readMap, readMapProperty, readObjectPolymorphic, readObjectStatic, readPrimitiveProperty, setBean, setBeanClass, setClassBeanInfo, setContext, setEnv, setNode, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontPersister

public FontPersister()
Method Detail

isPrimitive

public boolean isPrimitive(Class clazz)
Specified by:
isPrimitive in interface StateFactory
Overrides:
isPrimitive in class BasicPersister<Font>

writeElement

public void writeElement()
                  throws IOException
Overrides:
writeElement in class BasicPersister<Font>
Throws:
IOException

readAttribute

public Object readAttribute(Object prototype)
                     throws IOException
Overrides:
readAttribute in class BasicPersister<Font>
Throws:
IOException

create

public Object create()
              throws IOException
Throws:
IOException

readElement

protected Object readElement(Object prototype)
                      throws IOException
Overrides:
readElement in class BasicPersister<Font>
Throws:
IOException

writeAttribute

protected void writeAttribute()
                       throws IOException
Overrides:
writeAttribute in class BasicPersister<Font>
Throws:
IOException

com.im.ijc.core/1 5.9.4