TemplateBlockpublic class TemplateBlockBinder extends Object implements TemplateBlock
| Constructor | Description |
|---|---|
TemplateBlockBinder(String templateString) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTemplateBlock(TemplateBlock templateBlock) |
|
String |
getContent(Map<String,Object> variables) |
Gets string representation for this template block.
|
TemplateBlockType |
getTemplateBlockType() |
Used to determine template block type.
|
public TemplateBlockBinder(String templateString)
public TemplateBlockType getTemplateBlockType()
TemplateBlockgetTemplateBlockType in interface TemplateBlockpublic String getContent(Map<String,Object> variables)
TemplateBlockgetContent in interface TemplateBlockpublic void addTemplateBlock(TemplateBlock templateBlock)
Copyright © 2017–2020 Holisticon AG. All rights reserved.