|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.jknack.handlebars.Context.Builder
public static final class Context.Builder
A context builder.
| Method Summary | |
|---|---|
Context |
build()
Build a context stack. |
Context.Builder |
combine(Map<String,Object> model)
Combine all the map entries into the context stack. |
Context.Builder |
combine(String name,
Object model)
Combine the given model using the specified name. |
Context.Builder |
resolver(ValueResolver... resolvers)
Set the value resolvers to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Context.Builder combine(String name,
Object model)
name - The variable's name. Required.model - The model data.
public Context.Builder combine(Map<String,Object> model)
model - The model data.
public Context.Builder resolver(ValueResolver... resolvers)
resolvers - The value resolvers. Required.
public Context build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||