public class TemplateMediator extends Object
| Modifier and Type | Field and Description |
|---|---|
static ValueContainer |
commentContainer |
| Constructor and Description |
|---|
TemplateMediator(String n) |
| Modifier and Type | Method and Description |
|---|---|
void |
format(ValueContainerIF section,
FormattedArtifactIF artifact)
If the template has been loaded, we format the information in the Section and
write it to the artifact.
|
void |
format(ValueContainerIF section,
FormattedArtifactIF artifact,
Template commentTemplate)
If the template has been loaded, we dump a debug comment to the artifact (based on the
commentFormat from the TdlModule), format the information in the Section and
write it to the artifact.
|
Template |
getTemplate() |
void |
reset() |
void |
setTemplate(Template t) |
public static ValueContainer commentContainer
public TemplateMediator(String n)
public void reset()
public Template getTemplate()
public void setTemplate(Template t)
public void format(ValueContainerIF section, FormattedArtifactIF artifact) throws IOException
section - artifact - IOExceptionpublic void format(ValueContainerIF section, FormattedArtifactIF artifact, Template commentTemplate) throws IOException
section - artifact - IOExceptionCopyright © 2023. All rights reserved.