Converts the given data element to a resource.

        :param data_element: object implementing
            :class:`everest.representers.interfaces.IExplicitDataElement`

def resource_from_data(self, data_element, resource=None):
        """
        Converts the given data element to a resource.

        :param data_element: object implementing
            :class:`everest.representers.interfaces.IExplicitDataElement`
        """
        return self._mapping.map_to_resource(data_element, resource=resource)