com.im.df.api 5.9

com.im.df.api.util.xml
Class PersisterRegistry

java.lang.Object
  extended by com.im.df.api.util.xml.PersisterRegistry

public abstract class PersisterRegistry
extends Object


Constructor Summary
PersisterRegistry()
           
 
Method Summary
static PersisterRegistry getDefault()
           
abstract  StateFactory getFactoryByClass(Class clazz)
           
 StateFactory getFactoryByClass(Object bean, Class startFrom)
           
 StateFactory getFactoryByName(Element state)
           
abstract  StateFactory getFactoryByName(String tagName, String nsName)
           
 StateFactory getFactoryByObject(Object bean)
           
 Object load(Lookup context, Object prototype, Element data)
           
 Object load(Lookup context, Object prototype, Element data, DFEnvironmentRO env)
           
 void save(Lookup context, Object bean, Document doc)
           
 void save(Lookup context, Object bean, Document doc, DFEnvironmentRO env)
           
 void save(Lookup context, Object bean, Node parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersisterRegistry

public PersisterRegistry()
Method Detail

getFactoryByClass

public abstract StateFactory getFactoryByClass(Class clazz)
                                        throws IOException
Throws:
IOException

getFactoryByName

public abstract StateFactory getFactoryByName(String tagName,
                                              String nsName)
                                       throws IOException
Throws:
IOException

getFactoryByClass

public final StateFactory getFactoryByClass(Object bean,
                                            Class startFrom)
                                     throws IOException
Throws:
IOException

getDefault

public static final PersisterRegistry getDefault()

getFactoryByObject

public final StateFactory getFactoryByObject(Object bean)
                                      throws IOException
Throws:
IOException

getFactoryByName

public final StateFactory getFactoryByName(Element state)
                                    throws IOException
Throws:
IOException

load

public final Object load(Lookup context,
                         Object prototype,
                         Element data)
                  throws IOException
Throws:
IOException

load

public final Object load(Lookup context,
                         Object prototype,
                         Element data,
                         DFEnvironmentRO env)
                  throws IOException
Throws:
IOException

save

public final void save(Lookup context,
                       Object bean,
                       Node parent)
                throws IOException
Throws:
IOException

save

public final void save(Lookup context,
                       Object bean,
                       Document doc)
                throws IOException
Throws:
IOException

save

public final void save(Lookup context,
                       Object bean,
                       Document doc,
                       DFEnvironmentRO env)
                throws IOException
Throws:
IOException

com.im.df.api 5.9