Package eu.scape_project.planning.criteria.xml

Examples of eu.scape_project.planning.criteria.xml.CriteriaHierarchyExporter


        // create criteria-hierarchy
        CriteriaHierarchy cHierarchy = new CriteriaHierarchy();
        cHierarchy.setName("hierarchy");
        cHierarchy.setCriteriaTreeRoot(rootNode);

        CriteriaHierarchyExporter criteriaHierarchyExporter = new CriteriaHierarchyExporter();
        String exportedXml = criteriaHierarchyExporter.exportToFreemindXml(cHierarchy);

        String expectedXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
            + "<map version=\"0.8.1\">"
            + "<!--To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net-->"
            + "<node TEXT=\"rootNode\">" + "<node TEXT=\"subNode\">" + "<node TEXT=\"leaf1\"/>"
View Full Code Here


        // create criteria-hierarchy
        CriteriaHierarchy cHierarchy = new CriteriaHierarchy();
        cHierarchy.setName("hierarchy");
        cHierarchy.setCriteriaTreeRoot(rootNode);

        CriteriaHierarchyExporter criteriaHierarchyExporter = new CriteriaHierarchyExporter();
        String exportedXml = criteriaHierarchyExporter.exportToFreemindXml(cHierarchy);

        String expectedXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
            + "<map version=\"0.8.1\">"
            + "<!--To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net-->"
            + "<node TEXT=\"rootNode\">" + "<node TEXT=\"subNode\">"
View Full Code Here

        // create criteria-hierarchy
        CriteriaHierarchy cHierarchy = new CriteriaHierarchy();
        cHierarchy.setName("hierarchy");
        cHierarchy.setCriteriaTreeRoot(rootNode);

        CriteriaHierarchyExporter criteriaHierarchyExporter = new CriteriaHierarchyExporter();
        String exportedXml = criteriaHierarchyExporter.exportToFreemindXml(cHierarchy);

        String expectedXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
            + "<map version=\"0.8.1\">"
            + "<!--To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net-->"
            + "<node TEXT=\"rootNode\">" + "<node TEXT=\"leaf1\"/>" + "</node>" + "</map>";
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.criteria.xml.CriteriaHierarchyExporter

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.