public class View extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
args |
protected String |
name |
protected Object |
object |
protected RenderingEngine |
renderingEngine |
Constructor and Description |
---|
View(RenderingEngine renderingEngine,
String name) |
View(RenderingEngine renderingEngine,
String name,
Object object) |
Modifier and Type | Method and Description |
---|---|
View |
arg(String key,
Object value) |
View |
args(Map<String,Object> args) |
View |
forObject(Object object) |
String |
getName() |
Object |
getObject() |
RenderingEngine |
getRenderingEngine() |
void |
render(OutputStream out) |
void |
render(OutputStream out,
Charset charset) |
void |
render(OutputStream out,
String charset) |
void |
render(Writer writer) |
String |
toString() |
protected RenderingEngine renderingEngine
public View(RenderingEngine renderingEngine, String name)
public View(RenderingEngine renderingEngine, String name, Object object)
public RenderingEngine getRenderingEngine()
public void render(OutputStream out) throws RenderingException
RenderingException
public void render(OutputStream out, String charset) throws RenderingException
RenderingException
public void render(OutputStream out, Charset charset) throws RenderingException
RenderingException
public void render(Writer writer) throws RenderingException
RenderingException
Copyright © 2018 Nuxeo. All rights reserved.