de.infoasset.platform.template
Interface Templatable

All Known Implementing Classes:
AbstractPage, AbstractTemplateSubstitution, BlockTemplateSubstitution, ConditionalTemplateSubstitution, ConsistencyBlockTemplateSubstitution, ConsistencyTemplateSubstitution, MainPage, PopupPage, SimplePage, TemplateAction, TemplateSubstitution, ToroActionPage, ToroPage

public interface Templatable

This interface specifies all behavior necessary to generate content from a Template.

The following things have to be in place:

For classes which implement this interface the resulting output can be accessed via the methods Template.write(Templatable, java.io.OutputStream), Template.write(Templatable, StringBuilder), and Template.getString(Templatable).


Method Summary
 Escaping defaultEscaping()
           
 Asset getAsset()
           
 void init()
           
 boolean isDebug()
           
 void putSubstitutions(Template t)
           
 void specifyTemplate(TemplateFinder tf)
           
 

Method Detail

specifyTemplate

void specifyTemplate(TemplateFinder tf)

putSubstitutions

void putSubstitutions(Template t)

getAsset

Asset getAsset()

isDebug

boolean isDebug()

init

void init()

defaultEscaping

Escaping defaultEscaping()