// Path: src/main/java/com/cadrlife/jhaml/JHamlConfig.java
// public class JHamlConfig {
// 	public static final int OUTPUT_INDENTATION_SIZE = 2;
// 	public static final ImmutableList<String> validFormats = ImmutableList.of("xhtml","html4","html5");
// 	public String format = "xhtml";
// 	public List<String> autoclose = Lists.newArrayList("meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base");
// 	public List<String> preserve = Lists.newArrayList("textarea", "pre");
// 	public String attrWrapper = "'";
// 	
// 	public Map<String,Filter> filters = new HashMap<String,Filter>();
// 	{
// 		filters.put("plain", new PlainFilter(this));
// 		filters.put("javascript", new JavaScriptFilter(this));
// 		filters.put("cdata", new CdataFilter(this));
// 		filters.put("escaped", new EscapedFilter(this));
// 		filters.put("preserve", new PreserveFilter(this));
// 		filters.put("jsp", new JspFilter(this));
// 		filters.put("css", new CssFilter(this));
// 		filters.put("markdown", new MarkdownFilter(this));
// 	}
// 	
// 	public boolean isXhtml() {
// 		return !isHtml();
// 	}
// 	public boolean isHtml() {
// 		return isHtml4() || isHtml5();
// 	}
// 	public boolean isHtml4() {
// 		return "html4".equals(this.format);
// 	}
// 	public boolean isHtml5() {
// 		return "html5".equals(this.format);
// 	}
// 	
// 	// These options escapeHtml, suppressEval, and encoding may not be necessary.
// 	//	boolean escapeHtml = false;
// 	//	boolean suppressEval = false;
// 	//	String encoding = "utf-8";
// }


import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;
import com.cadrlife.jhaml.JHamlConfig;
import com.google.common.base.CharMatcher;
import com.google.common.base.Joiner;

package com.cadrlife.jhaml.internal;




public class Helper {
	public static final String DOCTYPE_HTML_4_01_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">";
	public static final String DOCTYPE_HTML_4_01_FRAMESET = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\" \"http://www.w3.org/TR/html4/frameset.dtd\">";
	public static final String DOCTYPE_HTML_4_01_TRANSITIONAL = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_TRANSITIONAL = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
	public static final String DOCTYPE_XHTML_1_1_BASIC = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Basic 1.1//EN\" \"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd\">";
	public static final String DOCTYPE_XHTML_1_2_MOBILE = "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.2//EN\" \"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_FRAMESET = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">";
	public static final String DOCTYPE_HTML = "<!DOCTYPE html>";
	public static final String DOCTYPE_XHTML_1_1_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">";

// Path: src/main/java/com/cadrlife/jhaml/JHamlConfig.java
// public class JHamlConfig {
// 	public static final int OUTPUT_INDENTATION_SIZE = 2;
// 	public static final ImmutableList<String> validFormats = ImmutableList.of("xhtml","html4","html5");
// 	public String format = "xhtml";
// 	public List<String> autoclose = Lists.newArrayList("meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base");
// 	public List<String> preserve = Lists.newArrayList("textarea", "pre");
// 	public String attrWrapper = "'";
// 	
// 	public Map<String,Filter> filters = new HashMap<String,Filter>();
// 	{
// 		filters.put("plain", new PlainFilter(this));
// 		filters.put("javascript", new JavaScriptFilter(this));
// 		filters.put("cdata", new CdataFilter(this));
// 		filters.put("escaped", new EscapedFilter(this));
// 		filters.put("preserve", new PreserveFilter(this));
// 		filters.put("jsp", new JspFilter(this));
// 		filters.put("css", new CssFilter(this));
// 		filters.put("markdown", new MarkdownFilter(this));
// 	}
// 	
// 	public boolean isXhtml() {
// 		return !isHtml();
// 	}
// 	public boolean isHtml() {
// 		return isHtml4() || isHtml5();
// 	}
// 	public boolean isHtml4() {
// 		return "html4".equals(this.format);
// 	}
// 	public boolean isHtml5() {
// 		return "html5".equals(this.format);
// 	}
// 	
// 	// These options escapeHtml, suppressEval, and encoding may not be necessary.
// 	//	boolean escapeHtml = false;
// 	//	boolean suppressEval = false;
// 	//	String encoding = "utf-8";
// }


// Path: src/main/java/com/cadrlife/jhaml/internal/Helper.java
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;
import com.cadrlife.jhaml.JHamlConfig;
import com.google.common.base.CharMatcher;
import com.google.common.base.Joiner;

package com.cadrlife.jhaml.internal;




public class Helper {
	public static final String DOCTYPE_HTML_4_01_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">";
	public static final String DOCTYPE_HTML_4_01_FRAMESET = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\" \"http://www.w3.org/TR/html4/frameset.dtd\">";
	public static final String DOCTYPE_HTML_4_01_TRANSITIONAL = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_TRANSITIONAL = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
	public static final String DOCTYPE_XHTML_1_1_BASIC = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Basic 1.1//EN\" \"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd\">";
	public static final String DOCTYPE_XHTML_1_2_MOBILE = "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.2//EN\" \"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_FRAMESET = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">";
	public static final String DOCTYPE_XHTML_1_0_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">";
	public static final String DOCTYPE_HTML = "<!DOCTYPE html>";
	public static final String DOCTYPE_XHTML_1_1_STRICT = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">";

	private final JHamlConfig config;
