public class TemplatingConfiguration extends Object
AbstractTemplateProcessor
implementation.Constructor and Description |
---|
TemplatingConfiguration(String template)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyBefore()
Should the template be applied at the start of the fragment and before processing
any of the fragment's child content.
|
protected String |
getTemplate()
Get the template.
|
protected Usage |
getUsage()
Get the templating
Usage directive for the templating result. |
TemplatingConfiguration |
setApplyBefore(boolean applyBefore)
Set whether or not the template should be applied at the start of the fragment and before processing
any of the fragment's child content.
|
TemplatingConfiguration |
setUsage(Usage usage)
Set the templating
Usage directive for the templating result. |
public TemplatingConfiguration(String template)
template
- The template. This can be a URI referencing the template resource,
or can be an inlined template.protected String getTemplate()
protected boolean applyBefore()
public TemplatingConfiguration setApplyBefore(boolean applyBefore)
applyBefore
- True if the template is to be applied at the start of the fragment, otherwise false.protected Usage getUsage()
Usage
directive for the templating result.public TemplatingConfiguration setUsage(Usage usage)
Usage
directive for the templating result.usage
- The templating result usage.Copyright © 2020. All rights reserved.