public function scheduleForDirtyCheck($xmlEntity)
    {
        $rootClassName = $this->xem->getClassMetadata(get_class($xmlEntity))->rootXmlEntityName;
        $this->scheduledForDirtyCheck[$rootClassName][spl_object_hash($xmlEntity)] = $xmlEntity;
    }