info.magnolia.templating.elements
Class RenderElement
java.lang.Object
info.magnolia.templating.elements.AbstractTemplatingElement
info.magnolia.templating.elements.AbstractContentTemplatingElement
info.magnolia.templating.elements.RenderElement
- All Implemented Interfaces:
- TemplatingElement
public class RenderElement
- extends AbstractContentTemplatingElement
Renders a piece of content.
- Version:
- $Id$
Constructor Summary |
RenderElement(info.magnolia.cms.beans.config.ServerConfiguration server,
info.magnolia.rendering.context.RenderingContext renderingContext,
info.magnolia.rendering.engine.RenderingEngine renderingEngine)
|
Methods inherited from class info.magnolia.templating.elements.AbstractContentTemplatingElement |
getContent, getNodeIdentifier, getNodePath, getPath, getTargetContent, getWorkspace, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setNodeIdentifier, setPath, setWorkspace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderElement
public RenderElement(info.magnolia.cms.beans.config.ServerConfiguration server,
info.magnolia.rendering.context.RenderingContext renderingContext,
info.magnolia.rendering.engine.RenderingEngine renderingEngine)
begin
public void begin(Appendable out)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Specified by:
begin
in interface TemplatingElement
- Overrides:
begin
in class AbstractTemplatingElement
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
end
public void end(Appendable out)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Description copied from class:
AbstractTemplatingElement
- Override this method if you need to "do something" once the component is rendered, i.e cleanup the context.
- Specified by:
end
in interface TemplatingElement
- Overrides:
end
in class AbstractTemplatingElement
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
getEditable
public boolean getEditable()
setEditable
public void setEditable(boolean editable)
getTemplate
public String getTemplate()
setTemplate
public void setTemplate(String template)
getContextAttributes
public Map<String,Object> getContextAttributes()
setContextAttributes
public void setContextAttributes(Map<String,Object> contextAttributes)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.