com.quincy.auth.freemarker.HyperlinkTemplateDirectiveModelBean 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 HyperlinkTemplateDirectiveModelBean extends AbstractHtmlTemplateDirectiveModel {
@Override
protected String realExecute(Map params, TemplateModel[] loopVars, TemplateDirectiveBody body) throws IOException {
Object id = params.get("id");
Object name = params.get("name");
Object clazz = params.get("class");
Object href = params.get("href");
Object target = params.get("target");
Object value = params.get("value");
StringBuilder html = new StringBuilder(200);
html.append("");
return html.toString();
}
}