public class TemplateView extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
bindings |
protected WebContext |
ctx |
protected Object |
target |
protected URL |
url |
Constructor and Description |
---|
TemplateView(Object owner,
String name) |
TemplateView(Object owner,
URL url) |
TemplateView(WebContext ctx,
Object owner,
String name) |
TemplateView(WebContext ctx,
Object owner,
URL url) |
Modifier and Type | Method and Description |
---|---|
TemplateView |
arg(String key,
Object value) |
TemplateView |
args(Map<String,Object> args) |
static URL |
findTemplate(Object owner,
String name) |
WebContext |
getContext() |
String |
getString() |
void |
render(OutputStream out) |
void |
render(Writer writer) |
protected WebContext ctx
public TemplateView(Object owner, String name)
public TemplateView(WebContext ctx, Object owner, String name)
public TemplateView(Object owner, URL url)
public TemplateView(WebContext ctx, Object owner, URL url)
public static URL findTemplate(Object owner, String name)
public WebContext getContext()
public TemplateView arg(String key, Object value)
public TemplateView args(Map<String,Object> args)
public void render(OutputStream out)
Copyright © 2015 Nuxeo SA. All rights reserved.