org.juzu.template
Class Template.Builder
java.lang.Object
org.juzu.template.Template.Builder
- Enclosing class:
- Template
public abstract class Template.Builder
- extends Object
|
Method Summary |
void |
render()
|
Template.Builder |
set(String name,
Object value)
Update a parameter, if the value is not null the parameter with the specified name is set, otherwise
the parameter is removed. |
Template.Builder
public Template.Builder()
render
public final void render()
set
public Template.Builder set(String name,
Object value)
throws NullPointerException
- Update a parameter, if the value is not null the parameter with the specified name is set, otherwise
the parameter is removed. If the parameter is set and a value was set previously, the old value is
overwritten otherwise. If the parameter is removed and the value does not exist, nothing happens.
- Parameters:
name - the parameter namevalue - the parameter value
- Returns:
- this builder
- Throws:
NullPointerException - if the name argument is null
Copyright © 2011 eXo Platform SAS. All Rights Reserved.