Empty Element Provider

This Data Provider simply creates a new XML element that can be used as a root element for creating a new XML tree.
For example, this data provider can be used to instantiate an Employee element. The user can than add a Firstname, Lastname, Phone number, etc through the normal data control collections. Once the Employee (and all its children) are complete they can be used as the argument to another Data Control that invokes the web service to save this department using the WSDataProvider.

This provider doesn't need any additional configuration, so this is all you need in DataControls.dcx:
<data-provider class="org.adfemg.datacontrol.xml.provider.data.EmptyElementProvider"/>

Data Control
    <AdapterDataControl id="HrEmpty" FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
                        ImplDef="org.adfemg.datacontrol.xml.DataControlDefinition" SupportsTransactions="false"
                        SupportsSortCollection="false" SupportsResetState="false" SupportsRangesize="false"
                        SupportsFindMode="false" SupportsUpdates="false" Definition="org.adfemg.xmldc.demo.view.HrEmpty"
                        BeanClass="org.adfemg.xmldc.demo.view.HrEmpty" xmlns="http://xmlns.oracle.com/adfm/datacontrol">
        <Source>
            <definition xmlns="http://adfemg.org/adfm/datacontrol/configuration" dc-operation="getXML" schema="HR.xsd"
                        schema-root="Employee">
                <data-provider class="org.adfemg.datacontrol.xml.provider.data.EmptyElementProvider"/>
            </definition>
        </Source>
    </AdapterDataControl>