public class EglTemplate extends AbstractEglTemplate
Modifier and Type | Field and Description |
---|---|
protected Collection<ITemplateExecutionListener> |
listeners |
protected String |
name |
protected Template |
template |
module
Modifier | Constructor and Description |
---|---|
|
EglTemplate(EglTemplateSpecification spec,
IEglContext context) |
protected |
EglTemplate(URI path,
IEglContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
addProtectedRegionWarning(ProtectedRegionWarning warning) |
protected String |
getContents() |
Formatter |
getFormatter() |
IncrementalitySettings |
getIncrementalitySettings() |
String |
getName() |
Template |
getTemplate() |
protected boolean |
isProcessed() |
String |
merge(String existing) |
void |
populate(String name,
Object value) |
String |
process() |
void |
reset() |
void |
setFormatter(Formatter formatter) |
void |
setFormatters(Collection<Formatter> formatters) |
void |
setFormatters(Formatter... formatters) |
void |
setIncrementalitySettings(IncrementalitySettings incrementalitySettings) |
getAst, getChildren, getDeclaredModelDefinitions, getDeclaredOperations, getImports, getModelDefinitions, getOperations, getParseProblems, printWarning
protected final String name
protected final Template template
protected final Collection<ITemplateExecutionListener> listeners
protected EglTemplate(URI path, IEglContext context) throws Exception
Exception
public EglTemplate(EglTemplateSpecification spec, IEglContext context) throws Exception
Exception
public String getName()
public String process() throws EglRuntimeException
EglRuntimeException
public String merge(String existing) throws EglRuntimeException
EglRuntimeException
protected void addProtectedRegionWarning(ProtectedRegionWarning warning)
protected String getContents()
protected boolean isProcessed()
public Formatter getFormatter()
public void setFormatter(Formatter formatter)
public IncrementalitySettings getIncrementalitySettings()
public void setIncrementalitySettings(IncrementalitySettings incrementalitySettings)
public void setFormatters(Formatter... formatters)
public void setFormatters(Collection<Formatter> formatters)
public Template getTemplate()
public void reset()
reset
in class AbstractEglTemplate
Copyright © 2016. All rights reserved.