com.abra.j2xb.beans.xmlBinding
Class XmlAbstractPersister

java.lang.Object
  extended by com.abra.j2xb.beans.xmlBinding.XmlAbstractPersister
All Implemented Interfaces:
XmlPersister

public abstract class XmlAbstractPersister
extends java.lang.Object
implements XmlPersister

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Constructor Summary
XmlAbstractPersister()
           
 
Method Summary
<LoadedInstance>
LoadedInstance
load(MoXmlBindingModel xmlBindingModel, java.lang.Class<LoadedInstance> clazz, java.io.File file)
           
<LoadedInstance>
LoadedInstance
load(MoXmlBindingModel xmlBindingModel, java.lang.Class<LoadedInstance> clazz, java.lang.String filename)
           
 void save(MoXmlBindingModel xmlBindingModel, java.lang.Object objectToPersist, java.io.File file)
           
 void save(MoXmlBindingModel xmlBindingModel, java.lang.Object objectToPersist, java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.abra.j2xb.beans.xmlBinding.XmlPersister
load, save
 

Constructor Detail

XmlAbstractPersister

public XmlAbstractPersister()
Method Detail

load

public <LoadedInstance> LoadedInstance load(MoXmlBindingModel xmlBindingModel,
                                            java.lang.Class<LoadedInstance> clazz,
                                            java.io.File file)
                    throws XmlPersistException
Specified by:
load in interface XmlPersister
Throws:
XmlPersistException

load

public <LoadedInstance> LoadedInstance load(MoXmlBindingModel xmlBindingModel,
                                            java.lang.Class<LoadedInstance> clazz,
                                            java.lang.String filename)
                    throws XmlPersistException
Specified by:
load in interface XmlPersister
Throws:
XmlPersistException

save

public void save(MoXmlBindingModel xmlBindingModel,
                 java.lang.Object objectToPersist,
                 java.io.File file)
          throws XmlPersistException
Specified by:
save in interface XmlPersister
Throws:
XmlPersistException

save

public void save(MoXmlBindingModel xmlBindingModel,
                 java.lang.Object objectToPersist,
                 java.lang.String filename)
          throws XmlPersistException
Specified by:
save in interface XmlPersister
Throws:
XmlPersistException


Copyright © 2008. All Rights Reserved.