Class 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
    • Field Detail

      • namespaceXPath

        protected String namespaceXPath
    • Constructor Detail

      • OracleDirectToXMLTypeMappingHelper

        public OracleDirectToXMLTypeMappingHelper()
    • Method Detail

      • addClassIndicator

        public void addClassIndicator​(XMLDescriptor descriptor,
                                      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,
                                                 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​(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