Package eu.scape_project.planning.xml.freemind

Examples of eu.scape_project.planning.xml.freemind.MindMap


    }

    private MindMap loadFreeMindMap(InputStream in) {
        try {
            MindMap map = new MindMap();
            SAXParserFactory f = SAXParserFactory.newInstance();
            SAXParser parser = f.newSAXParser();
//            SAXParser parser = validatingParserFactory.getValidatingParser();
//            parser.setProperty(ValidatingParserFactory.JAXP_SCHEMA_SOURCE,
View Full Code Here


     *            one level higher. So we stop one level earlier, the units are
     *            not imported at the moment.
     * @throws URISyntaxException
     */
    public ObjectiveTree loadFreeMindObjectiveTree(InputStream in, boolean hasUnits, boolean hasLeaves) {
        MindMap map = loadFreeMindMap(in);
        if (map != null) {
            // traverse temp structure of map and nodes and create ObjectiveTree
            ObjectiveTree tree = new ObjectiveTree();
            tree.setRoot(map.getObjectiveTreeRoot(hasUnits, hasLeaves));
            if (tree.getRoot().isLeaf()) {
                return null;
            }
            return tree;
        }
View Full Code Here

     *
     * @param in
     * @return
     */
    public PolicyTree loadFreeMindPolicyTree(InputStream in) {
        MindMap map = loadFreeMindMap(in);
        if (map != null) {
            PolicyTree tree = new PolicyTree();
            tree.setRoot(map.getPolicyTreeRoot());
            return tree;
        }
        return null;
    }
View Full Code Here

     * @param in
     * @param criteriaManager
     * @return
     */
    public CriteriaHierarchy loadFreeMindCriteriaHierarchy(InputStream in, CriteriaManager criteriaManager) {
        MindMap map = loadFreeMindMap(in);
        if (map != null) {
            CriteriaHierarchy criteriaHierarchy = map.getRepresentingCriteriaHierarchy(criteriaManager);
            return criteriaHierarchy;
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.xml.freemind.MindMap

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.