EclipseLink 1.0_1.0 M8 - 20080604 API Reference - Incubation

org.eclipse.persistence.sessions.factories
Class DirectToXMLTypeMappingHelper

java.lang.Object
  extended by org.eclipse.persistence.sessions.factories.DirectToXMLTypeMappingHelper

public class DirectToXMLTypeMappingHelper
extends java.lang.Object

Helper class to abstract the XML mapping for DirectToXMLType.

Author:
djclarke
Since:
EclipseLink 0.1

Constructor Summary
DirectToXMLTypeMappingHelper()
           
 
Method Summary
 void addClassIndicator(XMLDescriptor descriptor)
          Add the XMLType mapping indicator to the DatabaseMapping descriptor.
 void addXDBDescriptors(java.lang.String name, org.eclipse.persistence.internal.sessions.DatabaseSessionImpl session)
          Invoked from a descriptor add the descriptor for DirectToXMLTypeMapping
static DirectToXMLTypeMappingHelper getInstance()
           
 void writeShouldreadWholeDocument(org.eclipse.persistence.internal.codegen.NonreflectiveMethodDefinition method, java.lang.String mappingName, DatabaseMapping mapping)
          Write the Project.class code for the XMLType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectToXMLTypeMappingHelper

public DirectToXMLTypeMappingHelper()
Method Detail

getInstance

public static DirectToXMLTypeMappingHelper getInstance()

addClassIndicator

public void addClassIndicator(XMLDescriptor descriptor)
Add the XMLType mapping indicator to the DatabaseMapping descriptor.


writeShouldreadWholeDocument

public void writeShouldreadWholeDocument(org.eclipse.persistence.internal.codegen.NonreflectiveMethodDefinition method,
                                         java.lang.String mappingName,
                                         DatabaseMapping mapping)
Write the Project.class code for the XMLType property.


addXDBDescriptors

public void addXDBDescriptors(java.lang.String name,
                              org.eclipse.persistence.internal.sessions.DatabaseSessionImpl session)
Invoked from a descriptor add the descriptor for DirectToXMLTypeMapping


EclipseLink 1.0_1.0 M8 - 20080604 API Reference - Incubation