Class XMLRootConverter

  • All Implemented Interfaces:
    java.io.Serializable, CoreConverter<DatabaseMapping,​Session>, Converter, XMLConverter

    public class XMLRootConverter
    extends java.lang.Object
    implements XMLConverter

    Purpose: Provides an implementation of XMLConverter to wrap/unwrap objects in an XMLRoot in order to capture element name information.

    Responsibilities

    • Wrap an object in an XMLRoot on unmarshal. Do any required conversions based on type for simple mappings.
    • Unwrap an XMLRoot from the object and pass it along to be marshalled.
    See Also:
    XMLConverter, Converter, Serialized Form