public class AtlassianXMLDatabinder
extends com.atlassian.hibernate.extras.XMLDatabinder
Modifier and Type | Field and Description |
---|---|
static String |
NAME_BUCKET_CLOB_STRING_TYPE |
static String |
NAME_CRYPTOGRAPHIC_KEY_TYPE |
static String |
NAME_CUSTOM_CLOB_TYPE |
static String |
NAME_INSTANT_TYPE |
static String |
NAME_NAMESPACE_USER_TYPE |
static String |
NAME_SPOOLING_BLOB_INPUT_STREAM_TYPE |
static String |
NAME_USER_KEY_TYPE |
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, translator
Constructor and Description |
---|
AtlassianXMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory,
String encoding,
HibernateObjectHandleTranslator translator) |
Modifier and Type | Method and Description |
---|---|
protected Object |
maybeInitializeIfProxy(Object object)
If the given object is a Hibernate proxy, then unwrap the proxy and return the underlying initialized entity.
|
boolean |
parseCustomType(Writer writer,
net.sf.hibernate.type.Type type,
Object value,
String xmlValue)
You will need to insert code here everytime you add a custom type.
|
void |
toGenericXML(Writer writer,
com.atlassian.hibernate.extras.ExportProgress progressMeter) |
addClass, associatedObjectFound, bind, bindAll, commit, excludeClass, excludeClassFromEntityExport, excludeClassFromReferenceExport, getExportableFields, getPersister, incrementProgress, incrementProgressTotal, isExcludedAsProperty, isExcludedOrProcessed, objectWritten, renderComponentType, renderEntityType, renderEnumType, renderOtherType, renderProperty, unbind, unbindAll, writeObject, writeObjects
public static final String NAME_BUCKET_CLOB_STRING_TYPE
public static final String NAME_CUSTOM_CLOB_TYPE
public static final String NAME_NAMESPACE_USER_TYPE
public static final String NAME_CRYPTOGRAPHIC_KEY_TYPE
public static final String NAME_SPOOLING_BLOB_INPUT_STREAM_TYPE
public static final String NAME_USER_KEY_TYPE
public static final String NAME_INSTANT_TYPE
public AtlassianXMLDatabinder(net.sf.hibernate.engine.SessionFactoryImplementor factory, String encoding, HibernateObjectHandleTranslator translator)
public void toGenericXML(Writer writer, com.atlassian.hibernate.extras.ExportProgress progressMeter) throws IOException, net.sf.hibernate.HibernateException
toGenericXML
in class com.atlassian.hibernate.extras.XMLDatabinder
IOException
net.sf.hibernate.HibernateException
public boolean parseCustomType(Writer writer, net.sf.hibernate.type.Type type, Object value, String xmlValue) throws IOException
AbstractObjectPersister.getPrimitivePropertyValue(ClassPersister, PrimitiveProperty)
.parseCustomType
in class com.atlassian.hibernate.extras.XMLDatabinder
IOException
protected Object maybeInitializeIfProxy(Object object)
Note that the superclass implemention of this method looks for and unwraps Hibernate2 proxies, which we no longer use, so delegating to the super impl is unnecessary.
maybeInitializeIfProxy
in class com.atlassian.hibernate.extras.XMLDatabinder
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences