// Path: sres/src/main/java/me/tatarka/sres/Bindable.java
// public interface Bindable<T> {
//     public static final String NAMESPACE = "http://schemas.android.com/apk/lib/me.tatarka.sres";
// 
//     void bind(T model);
// }
// 
// Path: sres-compile/src/main/java/me/tatarka/sres/LayoutGenerator.java
// public interface LayoutGenerator {
//     void generate(RootView rootView, SResOutput output);
// }
// 
// Path: sres-compile/src/main/java/me/tatarka/sres/SResOutput.java
// public class SResOutput {
//     public final SourceInfo sourceInfo;
//     public final Writer writer;
// 
//     public SResOutput(SourceInfo sourceInfo, Writer writer) {
//         this.sourceInfo = sourceInfo;
//         this.writer = writer;
//     }
// }


import com.google.common.base.CaseFormat;
import com.jamesmurty.utils.XMLBuilder;
import me.tatarka.sres.Bindable;
import me.tatarka.sres.LayoutGenerator;
import me.tatarka.sres.SResOutput;
import me.tatarka.sres.ast.*;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.TransformerException;
import java.util.Properties;
package me.tatarka.sres.impl;



/**
 * Created by evan on 3/1/14.
 */
public class SResXmlLayoutGenerator implements LayoutGenerator {
    public static final String NS_ANDROID = "http://schemas.android.com/apk/res/android";
    public static final String NS_APP = "http://schemas.android.com/apk/res-auto";

    @Override
// Path: sres/src/main/java/me/tatarka/sres/Bindable.java
// public interface Bindable<T> {
//     public static final String NAMESPACE = "http://schemas.android.com/apk/lib/me.tatarka.sres";
// 
//     void bind(T model);
// }
// 
// Path: sres-compile/src/main/java/me/tatarka/sres/LayoutGenerator.java
// public interface LayoutGenerator {
//     void generate(RootView rootView, SResOutput output);
// }
// 
// Path: sres-compile/src/main/java/me/tatarka/sres/SResOutput.java
// public class SResOutput {
//     public final SourceInfo sourceInfo;
//     public final Writer writer;
// 
//     public SResOutput(SourceInfo sourceInfo, Writer writer) {
//         this.sourceInfo = sourceInfo;
//         this.writer = writer;
//     }
// }


// Path: sres-compile/src/main/java/me/tatarka/sres/impl/SResXmlLayoutGenerator.java
import com.google.common.base.CaseFormat;
import com.jamesmurty.utils.XMLBuilder;
import me.tatarka.sres.Bindable;
import me.tatarka.sres.LayoutGenerator;
import me.tatarka.sres.SResOutput;
import me.tatarka.sres.ast.*;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.TransformerException;
import java.util.Properties;

package me.tatarka.sres.impl;



/**
 * Created by evan on 3/1/14.
 */
public class SResXmlLayoutGenerator implements LayoutGenerator {
    public static final String NS_ANDROID = "http://schemas.android.com/apk/res/android";
    public static final String NS_APP = "http://schemas.android.com/apk/res-auto";

    @Override
    public void generate(RootView rootView, SResOutput output) {