com.atlassian.confluence.importexport.impl
Class XMLDatabinder
java.lang.Object
com.atlassian.confluence.importexport.impl.XMLDatabinder
public class XMLDatabinder
- extends Object
Converts Hibernate data structures into an XML format used for backups
- See Also:
com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISO_TIMESTAMP_FORMAT
public static final String ISO_TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
ISO_DATE_FORMAT
public static final String ISO_DATE_FORMAT
- See Also:
- Constant Field Values
XMLDatabinder
public XMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory,
String encoding,
ObjectHandleTranslator translator)
setInitializeLazy
public void setInitializeLazy(boolean initializeLazy)
toGenericXML
public void toGenericXML(Writer writer,
com.atlassian.core.util.ProgressMeter progress)
throws net.sf.hibernate.HibernateException,
IOException
- Throws:
net.sf.hibernate.HibernateException
IOException
bind
public XMLDatabinder bind(Object object)
unbind
public XMLDatabinder unbind(Object object)
bindAll
public XMLDatabinder bindAll(Collection objects)
unbindAll
public XMLDatabinder unbindAll(Collection objects)
collectObjectGraph
public LinkedHashSet collectObjectGraph()
throws net.sf.hibernate.HibernateException
- Traverse the object hierarchy of the bounds objects and identify all of the entities that will need to be
written to the xml file.
- Throws:
net.sf.hibernate.HibernateException