// Path: src/main/java/org/projectnyx/properties/NyxConfig.java
// public class NyxConfig extends ConfigElement {
//     /**
//      * The servers to launch
//      */
//     public Servers servers;
// }


import java.io.*;
import lombok.Getter;
import lombok.Setter;
import lombok.SneakyThrows;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import org.projectnyx.properties.NyxConfig;
import static org.xmlpull.v1.XmlPullParser.*;
/*
 * Nyx - Server software for Minecraft: PE and more
 * Copyright © boredphoton 2016
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.projectnyx.config;





/**
 * The class for parsing a Nyx-style XML config file.
 */
public class ConfigParser {
    private final Reader input;
    private final XmlPullParser parser;
// Path: src/main/java/org/projectnyx/properties/NyxConfig.java
// public class NyxConfig extends ConfigElement {
//     /**
//      * The servers to launch
//      */
//     public Servers servers;
// }


// Path: src/main/java/org/projectnyx/config/ConfigParser.java
import java.io.*;
import lombok.Getter;
import lombok.Setter;
import lombok.SneakyThrows;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import org.projectnyx.properties.NyxConfig;
import static org.xmlpull.v1.XmlPullParser.*;

/*
 * Nyx - Server software for Minecraft: PE and more
 * Copyright © boredphoton 2016
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.projectnyx.config;





/**
 * The class for parsing a Nyx-style XML config file.
 */
public class ConfigParser {
    private final Reader input;
    private final XmlPullParser parser;
    @Getter @Setter private String packageContext = NyxConfig.class.getPackage().getName();