org.eclipse.persistence.sessions.factories
Class OracleDirectToXMLTypeMappingHelper
java.lang.Object
org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper
org.eclipse.persistence.sessions.factories.OracleDirectToXMLTypeMappingHelper
public class OracleDirectToXMLTypeMappingHelper
- extends org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper
Helper class to abstract the XML mapping for DirectToXMLType.
- Author:
- djclarke
- Since:
- EclipseLink 0.1
Method Summary |
void |
addClassIndicator(XMLDescriptor descriptor,
java.lang.String namespaceXPath)
Add the XMLType mapping indicator to the DatabaseMapping descriptor. |
void |
addXDBDescriptors(java.lang.String name,
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl session,
NamespaceResolver namespaceResolver)
Invoked from a descriptor is not found. |
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 org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper |
getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaceXPath
protected java.lang.String namespaceXPath
OracleDirectToXMLTypeMappingHelper
public OracleDirectToXMLTypeMappingHelper()
addClassIndicator
public void addClassIndicator(XMLDescriptor descriptor,
java.lang.String namespaceXPath)
- Add the XMLType mapping indicator to the DatabaseMapping descriptor.
- Overrides:
addClassIndicator
in class org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper
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.
- Overrides:
writeShouldreadWholeDocument
in class org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper
addXDBDescriptors
public void addXDBDescriptors(java.lang.String name,
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl session,
NamespaceResolver namespaceResolver)
- Invoked from a descriptor is not found.
- Overrides:
addXDBDescriptors
in class org.eclipse.persistence.internal.sessions.factories.DirectToXMLTypeMappingHelper