org.jamon
Interface TemplateManager

All Known Implementing Classes:
AbstractTemplateManager, BasicTemplateManager

public interface TemplateManager

A TemplateManager is the entry point to obtaining instances of template objects.

See Also:
TemplateManagerSource

Method Summary
 AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy p_proxy)
          Given a proxy, return an instance of the executable code for that proxy's template or a suitable replacement.
 AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy p_proxy, java.lang.Object p_jamonContext)
          Given a proxy and a jamonContext, return an instance of the executable code for that proxy's template or a suitable replacement, possibly based on the jamonContext.
 AbstractTemplateProxy constructProxy(java.lang.String p_path)
          Given a template path, return a proxy for that template.
 

Method Detail

constructImpl

AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy p_proxy)
Given a proxy, return an instance of the executable code for that proxy's template or a suitable replacement.

Parameters:
p_proxy - a proxy for the template
Returns:
a Template instance

constructImpl

AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy p_proxy,
                                         java.lang.Object p_jamonContext)
Given a proxy and a jamonContext, return an instance of the executable code for that proxy's template or a suitable replacement, possibly based on the jamonContext.

Parameters:
p_proxy - a proxy for the template
p_jamonContext - the current jamonContext (can be null)
Returns:
a Template instance

constructProxy

AbstractTemplateProxy constructProxy(java.lang.String p_path)
Given a template path, return a proxy for that template.

Parameters:
p_path - the path to the template
Returns:
a Template instance


jamon