public abstract class AbstractTemplateManager extends Object implements TemplateManager
TemplateManager which handles some of the common tasks
surrounding template replacement.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTemplateManager() |
protected |
AbstractTemplateManager(TemplateReplacer templateReplacer) |
| Modifier and Type | Method and Description |
|---|---|
AbstractTemplateProxy.Intf |
constructImpl(AbstractTemplateProxy proxy)
Given a proxy, return an instance of the executable code for that proxy's template or a
suitable replacement.
|
AbstractTemplateProxy.Intf |
constructImpl(AbstractTemplateProxy proxy,
Object 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.
|
protected abstract AbstractTemplateProxy.Intf |
constructImplFromReplacedProxy(AbstractTemplateProxy replacedProxy) |
protected TemplateReplacer |
getTemplateReplacer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconstructProxyprotected AbstractTemplateManager()
protected AbstractTemplateManager(TemplateReplacer templateReplacer)
protected TemplateReplacer getTemplateReplacer()
public AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy proxy)
constructImpl(p_proxy, null).constructImpl in interface TemplateManagerproxy - a proxy for the templateTemplate instancepublic AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy proxy, Object jamonContext)
constructImplFromReplacedProxy(
getTemplateReplacer().getReplacement(p_proxy, p_jamonContext))
constructImpl in interface TemplateManagerproxy - a proxy for the templatejamonContext - the current jamonContext (can be null)Template instanceprotected abstract AbstractTemplateProxy.Intf constructImplFromReplacedProxy(AbstractTemplateProxy replacedProxy)
Copyright © 2003-2013 Jamon developers. All Rights Reserved.