// Path: app/src/main/java/com/smbtv/delegate/ApplicationDelegate.java
// public class ApplicationDelegate extends Application {
// 
//     private static Context mContext;
// 
//     @Override
//     public void onCreate() {
// 
//         super.onCreate();
//         mContext = this;
//     }
// 
//     public static Context getContext(){
// 
//         return mContext;
//     }
// 
// }
// 
// Path: app/src/main/java/com/smbtv/delegate/exception/LoadQueryFromXMLException.java
// public class LoadQueryFromXMLException extends RuntimeException {
// 
//     public LoadQueryFromXMLException(Throwable cause) {
//         super(cause);
//     }
// }


import android.content.res.Resources;
import android.util.Log;
import com.smbtv.delegate.ApplicationDelegate;
import com.smbtv.delegate.exception.LoadQueryFromXMLException;
import org.xmlpull.v1.XmlPullParser;
import java.util.HashMap;
import java.util.Map;
package com.smbtv.delegate.base;






public class XMLQueryLoader {

    private static final String TAG = XMLQueryLoader.class.getSimpleName();
    private static final String ROOT = "queries";

// Path: app/src/main/java/com/smbtv/delegate/ApplicationDelegate.java
// public class ApplicationDelegate extends Application {
// 
//     private static Context mContext;
// 
//     @Override
//     public void onCreate() {
// 
//         super.onCreate();
//         mContext = this;
//     }
// 
//     public static Context getContext(){
// 
//         return mContext;
//     }
// 
// }
// 
// Path: app/src/main/java/com/smbtv/delegate/exception/LoadQueryFromXMLException.java
// public class LoadQueryFromXMLException extends RuntimeException {
// 
//     public LoadQueryFromXMLException(Throwable cause) {
//         super(cause);
//     }
// }


// Path: app/src/main/java/com/smbtv/delegate/base/XMLQueryLoader.java
import android.content.res.Resources;
import android.util.Log;
import com.smbtv.delegate.ApplicationDelegate;
import com.smbtv.delegate.exception.LoadQueryFromXMLException;
import org.xmlpull.v1.XmlPullParser;
import java.util.HashMap;
import java.util.Map;

package com.smbtv.delegate.base;






public class XMLQueryLoader {

    private static final String TAG = XMLQueryLoader.class.getSimpleName();
    private static final String ROOT = "queries";

    public static Map<String, String> load(int resourceFile) {