public abstract class AbstractTemplatingElement extends Object implements TemplatingElement
Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplatingElement(info.magnolia.cms.beans.config.ServerConfiguration server,
info.magnolia.rendering.context.RenderingContext renderingContext) |
Modifier and Type | Method and Description |
---|---|
void |
begin(Appendable out) |
protected javax.jcr.Node |
currentContent()
Returns the "current content" from the aggregation state.
|
void |
end(Appendable out)
Override this method if you need to "do something" once the component is rendered, i.e cleanup the context.
|
protected String |
getDefinitionMessage(info.magnolia.rendering.template.RenderableDefinition definition,
String key)
Deprecated.
since 5.4.4. Use new i18n mechanism instead.
|
protected String |
getInterfaceMessage(String key)
Deprecated.
since 5.4.4. Use new i18n mechanism instead.
|
protected info.magnolia.rendering.context.RenderingContext |
getRenderingContext() |
protected info.magnolia.cms.beans.config.ServerConfiguration |
getServer() |
protected boolean |
isAdmin() |
protected AbstractTemplatingElement(info.magnolia.cms.beans.config.ServerConfiguration server, info.magnolia.rendering.context.RenderingContext renderingContext)
public void begin(Appendable out) throws IOException, info.magnolia.rendering.engine.RenderException
begin
in interface TemplatingElement
IOException
info.magnolia.rendering.engine.RenderException
public void end(Appendable out) throws IOException, info.magnolia.rendering.engine.RenderException
end
in interface TemplatingElement
IOException
info.magnolia.rendering.engine.RenderException
protected javax.jcr.Node currentContent()
@Deprecated protected String getDefinitionMessage(info.magnolia.rendering.template.RenderableDefinition definition, String key)
@Deprecated protected String getInterfaceMessage(String key)
protected boolean isAdmin()
protected info.magnolia.cms.beans.config.ServerConfiguration getServer()
protected info.magnolia.rendering.context.RenderingContext getRenderingContext()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.