// @ShowCode:showRenderertypesEnd
// @ShowCode:showPassvariablesStart
public Renderer outer() {
// 文字列, 整数, Date型の値, List型の値を内部Snippetで使用するためにセットします。
Renderer render = new GoThroughRenderer();
render.add("div#inner", "name", "baz");
render.add("div#inner", "age", "30");
render.add("div#inner", "currenttime", new Date());
List<String> list = new ArrayList<>();
list.add("This text is passed by outer snippet.(1)");
list.add("This text is passed by outer snippet.(2)");
list.add("This text is passed by outer snippet.(3)");
render.add("div#inner", "list", list);
return render;
}