com.atlassian.confluence.importexport.impl
Class XMLDatabinder
java.lang.Object
   com.atlassian.confluence.importexport.impl.XMLDatabinder
com.atlassian.confluence.importexport.impl.XMLDatabinder
- public class XMLDatabinder 
- extends Object
Converts Hibernate data structures into an XML format used for backups.
 
 
 
| 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,
                     HibernateObjectHandleTranslator translator)
toGenericXML
public void toGenericXML(Writer writer,
                         com.atlassian.core.util.ProgressMeter originalProgressMeter)
                  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)
- Register a set of objects as being ones that should be exported.
 
- 
- Parameters:
- objects- either objects or handles.
- Returns:
- itself for chaining purposes
 
unbindAll
public XMLDatabinder unbindAll(Collection objects)
- Register a set of objects as being ones that should *not* be exported.
 
- 
- Parameters:
- objects- either objects or handles.
- Returns:
- itself for chaining purposes
 
excludeClass
public void excludeClass(Class<?> clazz)
- Mark a class as being excluded from the export.  Any entities of this type will be excluded from the
 export.
 
- 
- Parameters:
- clazz- type to exclude from exports.
 
Copyright © 2003-2013 Atlassian. All Rights Reserved.