de.infoasset.platform.template
Class AbstractTemplateSubstitution
java.lang.Object
de.infoasset.platform.template.AbstractTemplateSubstitution
- All Implemented Interfaces:
- Substitution, Templatable
- Direct Known Subclasses:
- BlockTemplateSubstitution, TemplateSubstitution
public abstract class AbstractTemplateSubstitution
- extends java.lang.Object
- implements Substitution, Templatable
A template substitution is a special Substitution, which instantiates
a template on its own and fills this template with substitutions.
- See Also:
TemplateDoc
|
Field Summary |
static java.lang.reflect.Method |
GET_ASSET
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GET_ASSET
public static java.lang.reflect.Method GET_ASSET
AbstractTemplateSubstitution
public AbstractTemplateSubstitution()
specifyTemplate
public void specifyTemplate(TemplateFinder tf)
- Specified by:
specifyTemplate in interface Templatable
isDebug
public boolean isDebug()
- Specified by:
isDebug in interface Templatable
putSubstitutions
public void putSubstitutions(Template template)
- Specified by:
putSubstitutions in interface Templatable
init
public void init()
- Specified by:
init in interface Templatable
getAsset
public Asset getAsset()
- Specified by:
getAsset in interface Templatable
print
protected void print(java.io.PrintStream p,
Scope scope)
print
public final void print(java.io.PrintStream p)
defaultEscaping
public Escaping defaultEscaping()
- Specified by:
defaultEscaping in interface Templatable