RD
- - an instance of RenderableDefinition
public class RenderingModelImpl<RD extends RenderableDefinition> extends Object implements RenderingModel<RD>
Modifier and Type | Field and Description |
---|---|
protected javax.jcr.Node |
content |
protected info.magnolia.jcr.util.ContentMap |
contentMap |
protected RD |
definition |
protected RenderingModel<?> |
parentModel |
SKIP_RENDERING
Constructor and Description |
---|
RenderingModelImpl(javax.jcr.Node content,
RD definition,
RenderingModel<?> parent) |
Modifier and Type | Method and Description |
---|---|
String |
execute()
Called after all properties were set.
|
info.magnolia.jcr.util.ContentMap |
getContent()
Map representation of the content node tied to this model.
|
RD |
getDef()
Shortname for templates: model.def.
|
RD |
getDefinition()
The renderable (template, area or component) tied to this model.
|
javax.jcr.Node |
getNode()
The content node tied to this model.
|
RenderingModel<?> |
getParent()
The model of the parent component or template.
|
RenderingModel<?> |
getRoot()
The top root model of the rendering process.
|
protected RenderingModel<?> parentModel
protected final javax.jcr.Node content
protected final RD extends RenderableDefinition definition
protected info.magnolia.jcr.util.ContentMap contentMap
public RenderingModelImpl(javax.jcr.Node content, RD definition, RenderingModel<?> parent)
public RenderingModel<?> getParent()
RenderingModel
getParent
in interface RenderingModel<RD extends RenderableDefinition>
public RenderingModel<?> getRoot()
RenderingModel
getRoot
in interface RenderingModel<RD extends RenderableDefinition>
public javax.jcr.Node getNode()
RenderingModel
getNode
in interface RenderingModel<RD extends RenderableDefinition>
public info.magnolia.jcr.util.ContentMap getContent()
RenderingModel
getContent
in interface RenderingModel<RD extends RenderableDefinition>
public RD getDef()
public RD getDefinition()
RenderingModel
getDefinition
in interface RenderingModel<RD extends RenderableDefinition>
public String execute()
RenderingModel
RenderableDefinition#determineTemplatePath(String, RenderingModel)
execute
in interface RenderingModel<RD extends RenderableDefinition>
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.