Package eu.scape_project.planning.sla

Examples of eu.scape_project.planning.sla.QLDGenerator


        try {
            addPreservationActionPlanData(collectionProfile, preservationActionPlan);
            addPreservationActionPlanT2flow(executablePlanDefinition.getT2flowExecutablePlan(), preservationActionPlan);
           
           
            QLDGenerator qldGen = new QLDGenerator();
            qldGen.generateQLD(plan);
            Element qualityLevelDescription = preservationActionPlan.addElement("qualityLevelDescription");
            Element root = qldGen.getQldNode().getRootElement();
            Element schema = qualityLevelDescription.addElement("schema", "http://purl.oclc.org/dsdl/schematron");
            schema.addAttribute("xmlns", "http://purl.oclc.org/dsdl/schematron");
            schema.add(root.element("pattern").detach());
        } catch (ParserException e) {
            throw new PlanningException("Error parsing collection profile", e);
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.sla.QLDGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.