markup template engine.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private String | |
| private boolean | |
| private Class | |
| private boolean | |
| private String | |
| private boolean | |
| private Locale | |
| private String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Class | |
| public String | |
| public Locale | |
| public String | |
| public boolean | Returns: true if variables in the model which are assignable tojava. should be
automatically escaped.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: whether elements without body should be written in the short form (ex: <br/>) or in an expanded form (ex: <br></br>)
|
| public boolean | |
| public void | setAutoEscape(final boolean
value if the autoEscape flag autoEscape)Set to true if you want variables in the model which are assignable to |
| public void | setAutoIndent(final boolean
the auto-indent flag autoIndent)Set this to true if you want the template engine to render indents automatically. |
| public void | |
| public void | |
| public void | setBaseTemplateClass(final Class<? extends BaseTemplate>
a class extending baseTemplateClass)groovy.Set the template base class. |
| public void | setCacheTemplates(final boolean
should templates be cached cacheTemplates)If cache is enabled, then templates are compiled once for each source (URL or File). |
| public void | setDeclarationEncoding(final String
encoding to be used in the declaration string declarationEncoding)Set the encoding used to write the declaration header. |
| public void | |
| public void | |
| public void | |
| public void |
| autoEscape | back to summary |
|---|---|
| private boolean autoEscape | |
| autoIndent | back to summary |
|---|---|
| private boolean autoIndent | |
| autoIndentString | back to summary |
|---|---|
| private String autoIndentString | |
| autoNewLine | back to summary |
|---|---|
| private boolean autoNewLine | |
| baseTemplateClass | back to summary |
|---|---|
| private Class<? extends BaseTemplate> baseTemplateClass | |
| cacheTemplates | back to summary |
|---|---|
| private boolean cacheTemplates | |
| declarationEncoding | back to summary |
|---|---|
| private String declarationEncoding | |
| expandEmptyElements | back to summary |
|---|---|
| private boolean expandEmptyElements | |
| locale | back to summary |
|---|---|
| private Locale locale | |
| newLineString | back to summary |
|---|---|
| private String newLineString | |
| useDoubleQuotes | back to summary |
|---|---|
| private boolean useDoubleQuotes | |
| TemplateConfiguration | back to summary |
|---|---|
| public TemplateConfiguration() | |
| TemplateConfiguration | back to summary |
|---|---|
| public TemplateConfiguration(TemplateConfiguration that) | |
| getAutoIndentString | back to summary |
|---|---|
| public String getAutoIndentString() | |
| getBaseTemplateClass | back to summary |
|---|---|
| public Class | |
| getDeclarationEncoding | back to summary |
|---|---|
public String getDeclarationEncoding()
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() | |
| getNewLineString | back to summary |
|---|---|
| public String getNewLineString() | |
| isAutoEscape | back to summary |
|---|---|
public boolean isAutoEscape()
| |
| isAutoIndent | back to summary |
|---|---|
public boolean isAutoIndent()
| |
| isAutoNewLine | back to summary |
|---|---|
| public boolean isAutoNewLine() | |
| isCacheTemplates | back to summary |
|---|---|
| public boolean isCacheTemplates() | |
| isExpandEmptyElements | back to summary |
|---|---|
public boolean isExpandEmptyElements()
| |
| isUseDoubleQuotes | back to summary |
|---|---|
public boolean isUseDoubleQuotes()
| |
| setAutoEscape | back to summary |
|---|---|
| public void setAutoEscape(final boolean autoEscape) Set to true if you want variables in the model which are assignable to
| |
| setAutoIndent | back to summary |
|---|---|
| public void setAutoIndent(final boolean autoIndent) Set this to true if you want the template engine to render indents automatically. In that case,
the supplied writer is wrapped into a
| |
| setAutoIndentString | back to summary |
|---|---|
| public void setAutoIndentString(final String autoIndentString) | |
| setAutoNewLine | back to summary |
|---|---|
| public void setAutoNewLine(final boolean autoNewLine) | |
| setBaseTemplateClass | back to summary |
|---|---|
| public void setBaseTemplateClass(final Class<? extends BaseTemplate> baseTemplateClass) Set the template base class. You can use a distinct template class to provide more statically available data to your templates.
| |
| setCacheTemplates | back to summary |
|---|---|
| public void setCacheTemplates(final boolean cacheTemplates) If cache is enabled, then templates are compiled once for each source (URL or File). It is recommended to keep this flag to true unless you are in development mode and want automatic reloading of templates.
| |
| setDeclarationEncoding | back to summary |
|---|---|
| public void setDeclarationEncoding(final String declarationEncoding) Set the encoding used to write the declaration header. Note that it is the responsibility of the user to ensure that it matches the writer encoding.
| |
| setExpandEmptyElements | back to summary |
|---|---|
| public void setExpandEmptyElements(final boolean expandEmptyElements) | |
| setLocale | back to summary |
|---|---|
| public void setLocale(final Locale locale) | |
| setNewLineString | back to summary |
|---|---|
| public void setNewLineString(final String newLineString) | |
| setUseDoubleQuotes | back to summary |
|---|---|
| public void setUseDoubleQuotes(final boolean useDoubleQuotes) | |