Package | Description |
---|---|
info.magnolia.rendering.model | |
info.magnolia.rendering.renderer |
Modifier and Type | Interface and Description |
---|---|
interface |
EarlyExecutionAware<RD extends RenderableDefinition>
Implemented by models that want to handle early execution in a separate callback.
|
Modifier and Type | Class and Description |
---|---|
class |
RenderingModelImpl<RD extends RenderableDefinition>
The default concrete rendering definition used for templates and components.
|
Modifier and Type | Field and Description |
---|---|
protected RenderingModel<?> |
RenderingModelImpl.parentModel |
Modifier and Type | Method and Description |
---|---|
RenderingModel<?> |
RenderingModelImpl.getParent() |
RenderingModel<?> |
RenderingModel.getParent()
The model of the parent component or template.
|
RenderingModel<?> |
RenderingModelImpl.getRoot() |
RenderingModel<?> |
RenderingModel.getRoot()
The top root model of the rendering process.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ModelExecutionFilter.handleExecutionResult(RenderingModel renderingModel,
String actionResult,
TemplateDefinition templateDefinition,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
EarlyExecutionAware.setParent(RenderingModel parentModel)
Called before rendering of the component.
|
Constructor and Description |
---|
RenderingModelImpl(javax.jcr.Node content,
RD definition,
RenderingModel<?> parent) |
Modifier and Type | Method and Description |
---|---|
protected <T extends RenderingModel<?>> |
AbstractRenderer.newModel(Class<T> modelClass,
javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel) |
Modifier and Type | Method and Description |
---|---|
RenderingModel<?> |
RenderingModelBasedRenderer.newModel(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel) |
RenderingModel<?> |
AbstractRenderer.newModel(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel)
Instantiates the model based on the class defined by the
RenderableDefinition.getModelClass() property. |
Modifier and Type | Method and Description |
---|---|
protected <T extends RenderingModel<?>> |
AbstractRenderer.newModel(Class<T> modelClass,
javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel) |
RenderingModel<?> |
RenderingModelBasedRenderer.newModel(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel) |
RenderingModel<?> |
AbstractRenderer.newModel(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parentModel)
Instantiates the model based on the class defined by the
RenderableDefinition.getModelClass() property. |
protected String |
AbstractRenderer.resolveTemplateScript(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> model,
String actionResult)
Hook-method to be overriden when required.
|
protected void |
AbstractRenderer.setupContext(Map<String,Object> ctx,
javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> model,
Object actionResult) |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.