Package | Description |
---|---|
sirius.tagliatelle | |
sirius.tagliatelle.emitter | |
sirius.tagliatelle.rendering |
Modifier and Type | Method and Description |
---|---|
void |
Template.render(GlobalRenderContext ctx,
Object... args)
Returns the template using the given context and arguments.
|
String |
Template.renderToString(Object... args)
Invokes the template and renders it into a string using the given arguments.
|
void |
Template.renderWithContext(LocalRenderContext ctx)
Renders the template with the given local context.
|
String |
Template.renderWithParams(sirius.kernel.commons.Context context)
Invokes the template and renders it into a string using the given arguments.
|
void |
Template.transferArguments(Map<String,Object> args,
LocalRenderContext renderContext)
Reads all arguments from the given map into the given render context.
|
Modifier and Type | Method and Description |
---|---|
void |
Emitter.emit(LocalRenderContext context)
Procudes the text output into the given context.
|
Modifier and Type | Method and Description |
---|---|
static RenderException |
RenderException.create(LocalRenderContext context,
Exception ex)
Creates a new error for the given context and root exception.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LocalRenderContext.emitBlock(String name)
Emits the block with the given name.
|
void |
RenderCall.render()
Invoked by the global context once all emitted content will be captured into a string.
|
Copyright © 2018. All rights reserved.