ee.mare.indrek.jtlt
Interface TemplateParams

All Known Implementing Classes:
TemplateGenerator

public interface TemplateParams

Interface for querying template parameters at a specific block level. This interface is usually passed to macros.

See Also:
TemplateMacro

Method Summary
 Object findParam(String ident, boolean search_parent)
          Query for a macro parameter, the scope of parameters is at the block where the macro is found.
 TemplateContext getTemplateContext()
          Return the template context object.
 

Method Detail

findParam

public Object findParam(String ident,
                        boolean search_parent)
Query for a macro parameter, the scope of parameters is at the block where the macro is found.

Parameters:
search_parent - whether to recursively search the parent blocks for the parameter
See Also:
TemplateMacro

getTemplateContext

public TemplateContext getTemplateContext()
Return the template context object.