private int type;
@Override
public void execute(Context context, Writer writer, Object[] values)
throws IOException {
Template template = context.getTemplate();
FileInputStream in = new FileInputStream(template.getPath(
(String) values[0], true));
Properties prop = new Properties();
try {
prop.load(in);
} finally {
in.close();
}
// 取得父容器的配置信息
Engine engine = template.getEngine();
Map<String, Object> config = context.getConfigures();
Context parentContext = context.getParent();
Map<String, Object> parent;
if (parentContext != null) {
parent = parentContext.getConfigures();