|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.webengine.model.Template
public class Template
| Constructor Summary | |
|---|---|
Template(Resource resource,
ScriptFile script)
|
|
Template(Resource resource,
String fileName)
|
|
Template(WebContext ctx,
ScriptFile script)
|
|
Template(WebContext ctx,
String fileName)
|
|
| Method Summary | |
|---|---|
Template |
arg(String key,
Object value)
|
Map<String,Object> |
args()
|
Template |
args(Map<String,Object> args)
|
String |
render()
|
void |
render(OutputStream out)
|
Resource |
resource()
|
ScriptFile |
script()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Template(WebContext ctx,
String fileName)
public Template(Resource resource,
String fileName)
public Template(WebContext ctx,
ScriptFile script)
public Template(Resource resource,
ScriptFile script)
| Method Detail |
|---|
public Template arg(String key,
Object value)
public Template args(Map<String,Object> args)
public Map<String,Object> args()
public Resource resource()
public ScriptFile script()
public void render(OutputStream out)
throws WebException
WebExceptionpublic String render()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||