public abstract class AbstractTemplatingElement extends Object implements TemplatingElement
Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplatingElement(ServerConfiguration server,
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(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 RenderingContext |
getRenderingContext() |
protected ServerConfiguration |
getServer() |
protected boolean |
isAdmin() |
protected AbstractTemplatingElement(ServerConfiguration server, RenderingContext renderingContext)
public void begin(Appendable out) throws IOException, RenderException
begin
in interface TemplatingElement
IOException
RenderException
public void end(Appendable out) throws IOException, RenderException
end
in interface TemplatingElement
IOException
RenderException
protected javax.jcr.Node currentContent()
@Deprecated protected String getDefinitionMessage(RenderableDefinition definition, String key)
@Deprecated protected String getInterfaceMessage(String key)
protected boolean isAdmin()
protected ServerConfiguration getServer()
protected RenderingContext getRenderingContext()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.