Class HibernateMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.hibernate.mapper.HibernateMapper
- All Implemented Interfaces:
Mapper
Mapper for Hibernate types. It will map the class names of the Hibernate collections and
Envers collection proxies with equivalents of the JDK at serialization time. It will also map
the names of the proxy types to the names of the proxies element's type.
- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultImplementationOf(Class clazz) serializedClass(Class clazz) How a class name should be represented in its serialized form.Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedMember, shouldSerializeMember
-
Field Details
-
collectionMap
-
-
Constructor Details
-
HibernateMapper
-
-
Method Details
-
defaultImplementationOf
- Specified by:
defaultImplementationOfin interfaceMapper- Overrides:
defaultImplementationOfin classMapperWrapper
-
serializedClass
Description copied from interface:MapperHow a class name should be represented in its serialized form.- Specified by:
serializedClassin interfaceMapper- Overrides:
serializedClassin classMapperWrapper
-