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) |
protected String |
getInterfaceMessage(String key) |
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()
protected String getDefinitionMessage(RenderableDefinition definition, String key)
protected boolean isAdmin()
protected ServerConfiguration getServer()
protected RenderingContext getRenderingContext()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.