net.sf.zekr.engine.template
Interface ITransformer

All Known Implementing Classes:
AbstractPageViewTemplate, AbstractSearchResultTemplate, AbstractSuraViewTemplate, AdvancedQuranSearchResultTemplate, BaseViewTemplate, MixedViewTemplate, MultiTranslationViewTemplate, QuranSearchResultTemplate, QuranViewTemplate, ThemeTemplate, TranslationViewTemplate, TransSearchResultTemplate

public interface ITransformer

General transformer interface.

Author:
Mohsen Saboorian

Method Summary
 void setProperty(java.lang.String key, java.lang.Object value)
          Sets a property in the context of transformer for further use in templates.
 java.lang.String transform()
           
 

Method Detail

setProperty

void setProperty(java.lang.String key,
                 java.lang.Object value)
Sets a property in the context of transformer for further use in templates.

Parameters:
key - property key to be accessed by that inside template
value - property value

transform

java.lang.String transform()
                           throws TemplateTransformationException
Throws:
TemplateTransformationException