package eu.eudat.managers;
import java.util.Date;
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
import eu.eudat.entities.DatasetProfileViewstyle;
import eu.eudat.entities.xmlmodels.modeldefinition.FieldGroup;
import eu.eudat.entities.xmlmodels.viewstyledefinition.Section;
import eu.eudat.entities.xmlmodels.viewstyledefinition.ViewStyleModel;
import eu.eudat.models.admin.components.datasetprofile.FieldSet;
import eu.eudat.models.admin.composite.DatasetProfile;
import eu.eudat.utilities.builders.ModelBuilder;
import eu.eudat.utilities.builders.XmlBuilder;
import eu.eudat.utilities.helpers.ModelBuilderCollector;
public class AdminManager {
public static eu.eudat.entities.DatasetProfile generateModelDefinition(DatasetProfile profile){
ObjectMapper xmlMapper = new XmlMapper();
List