public interface Options extends HelperDefinition
HelperDefinition.ValuePlaceholder| Modifier and Type | Method and Description |
|---|---|
void |
append(CharSequence sequence)
Append the given sequence to the rendered template.
|
void |
fn()
Proceed with template execution, i.e. execute the block.
|
void |
partial(String templateId)
Render the template with the current context and append the result
to the rendered template.
|
Object |
peek()
Returns the object at the top of the context stack without removing it.
|
Object |
pop()
Removes the object at the top of the context stack and returns that
object.
|
void |
push(Object contextObject)
Push the specified object on the context stack.
|
String |
source(String templateId) |
getHash, getParameters, getTagInfovoid append(CharSequence sequence)
sequence - void fn()
void partial(String templateId)
templateId - MustacheException - If there's no such templateString source(String templateId)
templateId - MustacheException - If there's no such templatevoid push(Object contextObject)
contextObject - Object pop()
MustacheException - In case of a helper tries to pop a context object it did not
push previouslyObject peek()
Copyright © 2014. All Rights Reserved.