public class

XMLDatabinder

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.importexport.impl.XMLDatabinder

Class Overview

Converts Hibernate data structures into an XML format used for backups

Summary

Constants
String ISO_DATE_FORMAT
String ISO_TIMESTAMP_FORMAT
Public Constructors
XMLDatabinder(SessionFactoryImplementor factory, String encoding, ObjectHandleTranslator translator)
Public Methods
XMLDatabinder bind(Object object)
XMLDatabinder bindAll(Collection objects)
LinkedHashSet collectObjectGraph()
Traverse the object hierarchy of the bounds objects and identify all of the entities that will need to be written to the xml file.@return
void setInitializeLazy(boolean initializeLazy)
void toGenericXML(Writer writer, ProgressMeter progress)
XMLDatabinder unbind(Object object)
XMLDatabinder unbindAll(Collection objects)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ISO_DATE_FORMAT

Constant Value: "yyyy-MM-dd"

public static final String ISO_TIMESTAMP_FORMAT

Constant Value: "yyyy-MM-dd HH:mm:ss.SSS"

Public Constructors

public XMLDatabinder (SessionFactoryImplementor factory, String encoding, ObjectHandleTranslator translator)

Public Methods

public XMLDatabinder bind (Object object)

public XMLDatabinder bindAll (Collection objects)

public LinkedHashSet collectObjectGraph ()

Traverse the object hierarchy of the bounds objects and identify all of the entities that will need to be written to the xml file.@return

Throws
HibernateException

public void setInitializeLazy (boolean initializeLazy)

public void toGenericXML (Writer writer, ProgressMeter progress)

Throws
HibernateException
IOException

public XMLDatabinder unbind (Object object)

public XMLDatabinder unbindAll (Collection objects)