public interface TemplateReplacer
Modifier and Type | Method and Description |
---|---|
AbstractTemplateProxy |
getReplacement(AbstractTemplateProxy proxy,
Object jamonContext)
Get the replacement for a proxy.
|
AbstractTemplateProxy getReplacement(AbstractTemplateProxy proxy, Object jamonContext)
proxy
. Otherwise, create the
appropriate replacement proxy instance and call
AbstractTemplateProxy.ImplDataCompatible.populateFrom(org.jamon.AbstractTemplateProxy.ImplData)
on it's
implData instance.proxy
- the proxy to possibly replace.jamonContext
- the jamonContext if there is one, or null
otherwise.p_proxy
or a proxy instance for a template replacing p_proxy's template.Copyright © 2003–2014 Jamon developers. All rights reserved.