com.quincy.auth.freemarker.InputTemplateDirectiveModelBean Maven / Gradle / Ivy
package com.quincy.auth.freemarker;
import java.io.IOException;
import java.util.Map;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateModel;
public class InputTemplateDirectiveModelBean extends AbstractHtmlTemplateDirectiveModel {
@Override
protected String realExecute(Map params, TemplateModel[] loopVars, TemplateDirectiveBody body) throws IOException {
Object type = params.get("type");
Object id = params.get("id");
Object name = params.get("name");
Object clazz = params.get("class");
Object value = params.get("value");
StringBuilder html = new StringBuilder(200);
html.append("");
return html.toString();
}
}