info.magnolia.module.blossom.render
Class RenderContext
java.lang.Object
info.magnolia.module.blossom.render.RenderContext
public class RenderContext
- extends Object
Maintains a thread local stack of details that are needed during rendering but can't be passed as method arguments
through the Magnolia render chain. Used by renderers and views.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderContext
public RenderContext()
push
public static RenderContext push()
pop
public static void pop()
get
public static RenderContext get()
getLocale
public Locale getLocale()
setLocale
public void setLocale(Locale locale)
getTemplatePath
public String getTemplatePath()
setTemplatePath
public void setTemplatePath(String templatePath)
getContent
public info.magnolia.cms.core.Content getContent()
setContent
public void setContent(info.magnolia.cms.core.Content content)
getParagraph
public info.magnolia.module.templating.Paragraph getParagraph()
setParagraph
public void setParagraph(info.magnolia.module.templating.Paragraph paragraph)
getTemplate
public info.magnolia.module.templating.Template getTemplate()
setTemplate
public void setTemplate(info.magnolia.module.templating.Template template)
getOut
public Writer getOut()
setOut
public void setOut(Writer out)
getModel
public Map getModel()
setModel
public void setModel(Map model)
isTemplate
public boolean isTemplate()
isParagraph
public boolean isParagraph()
Copyright © 2009-2011 Magnolia International Ltd.. All Rights Reserved.