Resource Data Provider

The Resource Data Provider is the easiest Data Provider within the XML Data Control. 
It takes one parameter called 'resource' that points to an XML document.
At run time, the XML Data Control will fetch the data from the location within the resource parameter.
 

Data Control
    <AdapterDataControl id="HrData" 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.HrData"
                        BeanClass="org.adfemg.xmldc.demo.view.HrData" xmlns="http://xmlns.oracle.com/adfm/datacontrol">
        <Source>
            <definition xmlns="http://adfemg.org/adfm/datacontrol/configuration" dc-operation="getXML" schema="HR.xsd"
                        schema-root="DepartmentList">
                <data-provider class="org.adfemg.datacontrol.xml.provider.data.ResourceDataProvider">
                    <parameters>
                        <parameter name="resource" value="HRdata.xml"/>
                    </parameters>
                </data-provider>
            </definition>
        </Source>
    </AdapterDataControl>