// Path: src/main/java/com/wymarc/astrolabe/generator/AstrolabeGenerator.java
// public class AstrolabeGenerator{
// 
//     public AstrolabeGenerator(){
//         GeneratorGui gui = new GeneratorGui();
//     }
// 
// 
//     public static void main(String[] args) {
//         javax.swing.SwingUtilities.invokeLater(new Runnable() {
//             public void run() {
//                 new AstrolabeGenerator();
//             }
//         });
//     }
// }


import com.wymarc.astrolabe.generator.AstrolabeGenerator;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
/**
 * $Id: AstrolabeGenerator.java,v 3.1
 * <p/>
 * The Astrolabe Generator is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 3 of
 * the License, or(at your option) any later version.
 * <p/>
 * The Astrolabe Generator is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * <p/>
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 * <p/>
 * Copyright (c) 2017 Timothy J. Mitchell
 */
package com.wymarc.astrolabe.generator.config;



public class Config {
    public static String version = "";

    private String defaultLocationName = "";
    private String defaultLocation = "";
    private List<ClimateSet> climateSets;
    private List<AstrolabeExample> astrolabeExamples;

    public Config() {
        try {
// Path: src/main/java/com/wymarc/astrolabe/generator/AstrolabeGenerator.java
// public class AstrolabeGenerator{
// 
//     public AstrolabeGenerator(){
//         GeneratorGui gui = new GeneratorGui();
//     }
// 
// 
//     public static void main(String[] args) {
//         javax.swing.SwingUtilities.invokeLater(new Runnable() {
//             public void run() {
//                 new AstrolabeGenerator();
//             }
//         });
//     }
// }


// Path: src/main/java/com/wymarc/astrolabe/generator/config/Config.java
import com.wymarc.astrolabe.generator.AstrolabeGenerator;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

/**
 * $Id: AstrolabeGenerator.java,v 3.1
 * <p/>
 * The Astrolabe Generator is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 3 of
 * the License, or(at your option) any later version.
 * <p/>
 * The Astrolabe Generator is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * <p/>
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 * <p/>
 * Copyright (c) 2017 Timothy J. Mitchell
 */
package com.wymarc.astrolabe.generator.config;



public class Config {
    public static String version = "";

    private String defaultLocationName = "";
    private String defaultLocation = "";
    private List<ClimateSet> climateSets;
    private List<AstrolabeExample> astrolabeExamples;

    public Config() {
        try {
            InputStream is = AstrolabeGenerator.class.getResourceAsStream("astrolabe_config.xml");