de.infoasset.platform.template
Class AbstractTemplateSubstitution

java.lang.Object
  extended by 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
           
 
Constructor Summary
AbstractTemplateSubstitution()
           
 
Method Summary
 Escaping defaultEscaping()
           
 Asset getAsset()
           
 void init()
           
 boolean isDebug()
           
 void print(java.io.PrintStream p)
           
protected  void print(java.io.PrintStream p, Scope scope)
           
 void putSubstitutions(Template template)
           
 void specifyTemplate(TemplateFinder tf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_ASSET

public static java.lang.reflect.Method GET_ASSET
Constructor Detail

AbstractTemplateSubstitution

public AbstractTemplateSubstitution()
Method Detail

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