|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.templating.RenderingModelImpl<RD>
RD
- - an instance of RenderableDefinition
public class RenderingModelImpl<RD extends RenderableDefinition>
The default concrete rendering definition used for templates and paragraphs.
Field Summary | |
---|---|
protected info.magnolia.cms.core.Content |
content
|
protected RD |
definition
|
protected RenderingModel |
parentModel
|
Fields inherited from interface info.magnolia.module.templating.RenderingModel |
---|
SKIP_RENDERING |
Constructor Summary | |
---|---|
RenderingModelImpl(info.magnolia.cms.core.Content content,
RD definition,
RenderingModel parent)
|
Method Summary | |
---|---|
String |
execute()
Called after all properties were set. |
info.magnolia.cms.core.Content |
getContent()
The content tied to this model. |
RD |
getDef()
Shortname for templates: model.def. |
RD |
getDefinition()
The renderable (paragraph/template) tied to this model. |
RenderingModel |
getParent()
The model of the parent paragraph or template. |
RenderingModel |
getRoot()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final RenderingModel parentModel
protected final info.magnolia.cms.core.Content content
protected final RD extends RenderableDefinition definition
Constructor Detail |
---|
public RenderingModelImpl(info.magnolia.cms.core.Content content, RD definition, RenderingModel parent)
Method Detail |
---|
public RenderingModel getParent()
RenderingModel
getParent
in interface RenderingModel
public RenderingModel getRoot()
public info.magnolia.cms.core.Content getContent()
RenderingModel
getContent
in interface RenderingModel
public RD getDef()
public RD getDefinition()
RenderingModel
getDefinition
in interface RenderingModel
public String execute()
RenderingModel
RenderableDefinition.determineTemplatePath(String, RenderingModel)
execute
in interface RenderingModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |