com.abra.j2xb.beans.xmlBinding
Interface XmlPersister

All Known Implementing Classes:
XmlAbstractPersister

public interface XmlPersister

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

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.io.InputStream in)
           
<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.io.OutputStream out)
           
 void save(MoXmlBindingModel xmlBindingModel, java.lang.Object objectToPersist, java.lang.String filename)
           
 

Method Detail

load

<LoadedInstance> LoadedInstance load(MoXmlBindingModel xmlBindingModel,
                                     java.lang.Class<LoadedInstance> clazz,
                                     java.io.InputStream in)
                    throws XmlPersistException
Throws:
XmlPersistException

load

<LoadedInstance> LoadedInstance load(MoXmlBindingModel xmlBindingModel,
                                     java.lang.Class<LoadedInstance> clazz,
                                     java.io.File file)
                    throws XmlPersistException
Throws:
XmlPersistException

load

<LoadedInstance> LoadedInstance load(MoXmlBindingModel xmlBindingModel,
                                     java.lang.Class<LoadedInstance> clazz,
                                     java.lang.String filename)
                    throws XmlPersistException
Throws:
XmlPersistException

save

void save(MoXmlBindingModel xmlBindingModel,
          java.lang.Object objectToPersist,
          java.io.OutputStream out)
          throws XmlPersistException
Throws:
XmlPersistException

save

void save(MoXmlBindingModel xmlBindingModel,
          java.lang.Object objectToPersist,
          java.io.File file)
          throws XmlPersistException
Throws:
XmlPersistException

save

void save(MoXmlBindingModel xmlBindingModel,
          java.lang.Object objectToPersist,
          java.lang.String filename)
          throws XmlPersistException
Throws:
XmlPersistException


Copyright © 2008. All Rights Reserved.