com.atlassian.confluence.importexport.impl
Class XMLDatabinder
java.lang.Object
com.atlassian.confluence.importexport.impl.XMLDatabinder
public class XMLDatabinder
- extends java.lang.Object
Converts Hibernate data structures into an XML format used for backups
- See Also:
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 java.lang.String ISO_TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
ISO_DATE_FORMAT
public static final java.lang.String ISO_DATE_FORMAT
- See Also:
- Constant Field Values
XMLDatabinder
public XMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory,
java.lang.String encoding,
ObjectHandleTranslator translator)
setInitializeLazy
public void setInitializeLazy(boolean initializeLazy)
toGenericXML
public void toGenericXML(java.io.Writer writer,
com.atlassian.core.util.ProgressMeter progress)
throws net.sf.hibernate.HibernateException,
java.io.IOException
- Throws:
net.sf.hibernate.HibernateException
java.io.IOException
bind
public XMLDatabinder bind(java.lang.Object object)
unbind
public XMLDatabinder unbind(java.lang.Object object)
bindAll
public XMLDatabinder bindAll(java.util.Collection objects)
unbindAll
public XMLDatabinder unbindAll(java.util.Collection objects)
collectObjectGraph
public java.util.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.
- Returns:
-
- Throws:
net.sf.hibernate.HibernateException
Copyright © 2003-2010 Atlassian. All Rights Reserved.