com.atlassian.confluence.importexport.impl
Class AtlassianXMLDatabinder

java.lang.Object
  extended by com.atlassian.hibernate.extras.XMLDatabinder
      extended by com.atlassian.confluence.importexport.impl.AtlassianXMLDatabinder

public class AtlassianXMLDatabinder
extends com.atlassian.hibernate.extras.XMLDatabinder


Field Summary
static String NAME_BUCKET_CLOB_STRING_TYPE
           
static String NAME_CRYPTOGRAPHIC_KEY_TYPE
           
static String NAME_CUSTOM_CLOB_TYPE
           
static String NAME_NAMESPACE_USER_TYPE
           
 
Fields inherited from class com.atlassian.hibernate.extras.XMLDatabinder
bucketHandles, CARRIAGE_RETURN, CONST_CLOSE_CDATA, CONST_OPEN_CDATA, encoding, END_TAG_CARRIAGE_RETURN, excludedHandles, handles, ISO_DATE_FORMAT, ISO_TIMESTAMP_FORMAT, LEFT_CHEVRON, nextHandles, processedHandles, RIGHT_CHEVRON, START_CLOSE_TAG
 
Constructor Summary
AtlassianXMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory, String encoding, HibernateObjectHandleTranslator translator)
           
 
Method Summary
 boolean parseCustomType(Writer writer, net.sf.hibernate.type.Type type, Object value, String xmlValue)
           
 void toGenericXML(Writer writer, com.atlassian.hibernate.extras.ExportProgress progressMeter)
           
 
Methods inherited from class com.atlassian.hibernate.extras.XMLDatabinder
bind, bindAll, excludeClass, excludeClassFromEntityExport, excludeClassFromReferenceExport, unbind, unbindAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_BUCKET_CLOB_STRING_TYPE

public static final String NAME_BUCKET_CLOB_STRING_TYPE

NAME_CUSTOM_CLOB_TYPE

public static final String NAME_CUSTOM_CLOB_TYPE

NAME_NAMESPACE_USER_TYPE

public static final String NAME_NAMESPACE_USER_TYPE

NAME_CRYPTOGRAPHIC_KEY_TYPE

public static final String NAME_CRYPTOGRAPHIC_KEY_TYPE
Constructor Detail

AtlassianXMLDatabinder

public AtlassianXMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory,
                              String encoding,
                              HibernateObjectHandleTranslator translator)
Method Detail

toGenericXML

public void toGenericXML(Writer writer,
                         com.atlassian.hibernate.extras.ExportProgress progressMeter)
                  throws net.sf.hibernate.HibernateException,
                         IOException
Overrides:
toGenericXML in class com.atlassian.hibernate.extras.XMLDatabinder
Throws:
net.sf.hibernate.HibernateException
IOException

parseCustomType

public boolean parseCustomType(Writer writer,
                               net.sf.hibernate.type.Type type,
                               Object value,
                               String xmlValue)
                        throws IOException
Specified by:
parseCustomType in class com.atlassian.hibernate.extras.XMLDatabinder
Throws:
IOException


Copyright © 2003-2013 Atlassian. All Rights Reserved.