|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| com.github.jknack.handlebars | |
| com.github.jknack.handlebars.helper | |
| Uses of Context in com.github.jknack.handlebars |
|---|
| Fields in com.github.jknack.handlebars declared as Context | |
|---|---|
Context |
Options.context
The current context. |
| Methods in com.github.jknack.handlebars that return Context | |
|---|---|
Context |
Context.Builder.build()
Build a context stack. |
Context |
Context.data(String name,
Object value)
Set an attribute in the data storage. |
static Context |
Context.newContext(Context parent,
Object model)
Creates a new child context. |
static Context |
Context.newContext(Object model)
Creates a new root context. |
abstract Context |
Options.wrap(Object model)
Creates a Context from the given model. |
| Methods in com.github.jknack.handlebars with parameters of type Context | |
|---|---|
String |
Template.apply(Context context)
Merge the template tree using the given context. |
void |
Template.apply(Context context,
Writer writer)
Merge the template tree using the given context. |
static Context.Builder |
Context.newBuilder(Context parent,
Object model)
Start a new context builder. |
static Context |
Context.newContext(Context parent,
Object model)
Creates a new child context. |
| Constructors in com.github.jknack.handlebars with parameters of type Context | |
|---|---|
Options(Handlebars handlebars,
Context context,
Template fn,
Template inverse,
Object[] params,
Map<String,Object> hash)
Creates a new Handlebars Options. |
|
| Uses of Context in com.github.jknack.handlebars.helper |
|---|
| Methods in com.github.jknack.handlebars.helper with parameters of type Context | |
|---|---|
protected Object |
EachHelper.next(Context parent,
Iterator<Object> iterator,
int index)
Retrieve the next element available. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||