Modifier and Type | Method and Description |
---|---|
RenderableDefinition |
RenderingContext.getAncestorDefinition(int level) |
RenderableDefinition |
AggregationStateBasedRenderingContext.getAncestorDefinition(int level) |
RenderableDefinition |
RenderingContext.getRenderableDefinition() |
RenderableDefinition |
AggregationStateBasedRenderingContext.getRenderableDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
RenderingListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Deprecated.
|
void |
RenderingContext.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
void |
AreaFilteringListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Deprecated.
|
void |
AggregationStateBasedRenderingContext.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
void |
RenderingListener.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Deprecated.
|
Collection<AbstractRenderingListener.RenderingListenerReturnCode> |
RenderingContext.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
void |
AreaFilteringListener.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Deprecated.
|
Collection<AbstractRenderingListener.RenderingListenerReturnCode> |
AggregationStateBasedRenderingContext.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
void |
RenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition)
Pushes the content and renderableDefinition to be used for rendering.
|
void |
AggregationStateBasedRenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition) |
void |
RenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition,
OutputProvider outputProvider)
Pushes the content and renderableDefinition to be used for rendering.
|
void |
AggregationStateBasedRenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition,
OutputProvider outputProvider) |
Modifier and Type | Method and Description |
---|---|
protected RenderableDefinition |
DefaultRenderingEngine.getRenderableDefinitionFor(javax.jcr.Node content) |
Modifier and Type | Method and Description |
---|---|
protected Renderer |
DefaultRenderingEngine.getRendererFor(RenderableDefinition definition) |
void |
RenderingEngine.render(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Uses a specific
RenderableDefinition to render the content and exposes the given context objects to the
template script. |
void |
DefaultRenderingEngine.render(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
Modifier and Type | Method and Description |
---|---|
AbstractRenderingListener.RenderingListenerReturnCode |
AreaFilteringListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
abstract AbstractRenderingListener.RenderingListenerReturnCode |
AbstractRenderingListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
AbstractRenderingListener.RenderingListenerReturnCode |
AbstractInjectionListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
AbstractRenderingListener.RenderingListenerReturnCode |
AreaFilteringListener.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
abstract AbstractRenderingListener.RenderingListenerReturnCode |
AbstractRenderingListener.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
AbstractRenderingListener.RenderingListenerReturnCode |
AbstractInjectionListener.before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
protected String |
AbstractInjectionListener.processBeforeInjection(String text,
javax.jcr.Node content,
RenderableDefinition definition) |
protected abstract boolean |
AbstractInjectionListener.shouldInclude(javax.jcr.Node content,
RenderableDefinition definition) |
Modifier and Type | Interface and Description |
---|---|
interface |
EarlyExecutionAware<RD extends RenderableDefinition>
Implemented by models that want to handle early execution in a separate callback.
|
interface |
RenderingModel<RD extends RenderableDefinition>
A RenderingModel is used during rendering, it is analogous to the model part of the MVC pattern.
|
class |
RenderingModelImpl<RD extends RenderableDefinition>
The default concrete rendering definition used for templates and components.
|
Modifier and Type | Field and Description |
---|---|
protected RD |
RenderingModelImpl.definition |
Modifier and Type | Method and Description |
---|---|
protected RenderingModelBasedRenderer |
ModelExecutionFilter.getRenderingModelBasedRenderer(RenderableDefinition renderableDefinition)
Returns the Renderer for the supplied renderable if it supports RenderingModel.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractRenderer.getContentType(RenderableDefinition definition)
It's currently not possible to determine the content type of the renderer from the
RenderableDefinition . |
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
getModelClass() property. |
protected void |
JspRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
protected void |
FreemarkerRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
protected abstract void |
AbstractRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript)
Finally execute the rendering.
|
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
AreaDefinition
Definition for a Area.
|
interface |
TemplateDefinition
A
RenderableDefinition which supports editing in the page editor and can define their areas. |
Modifier and Type | Method and Description |
---|---|
Map<String,RenderableDefinition> |
RenderableDefinition.getVariations() |
Modifier and Type | Class and Description |
---|---|
class |
ConfiguredAreaDefinition
A
AreaDefinition configured in the configuration workspace. |
class |
ConfiguredRenderableDefinition
A
RenderableDefinition configured in the configuration workspace. |
class |
ConfiguredTemplateDefinition
A
TemplateDefinition configured in the configuration workspace. |
Modifier and Type | Method and Description |
---|---|
Map<String,RenderableDefinition> |
ConfiguredRenderableDefinition.getVariations() |
Modifier and Type | Method and Description |
---|---|
void |
ConfiguredRenderableDefinition.addVariation(String name,
RenderableDefinition variation) |
Modifier and Type | Method and Description |
---|---|
void |
ConfiguredRenderableDefinition.setVariations(Map<String,RenderableDefinition> variations) |
Modifier and Type | Method and Description |
---|---|
protected String |
RenderableDefinitionKeyGenerator.getType(RenderableDefinition definition) |
protected void |
RenderableDefinitionKeyGenerator.keysFor(List<String> keys,
RenderableDefinition definition,
AnnotatedElement el) |
Modifier and Type | Method and Description |
---|---|
RenderableDefinition |
RenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition)
Returns the variation to use or null.
|
RenderableDefinition |
NoopVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ExtensionVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
DefaultRenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ChannelVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
Modifier and Type | Method and Description |
---|---|
RenderableDefinition |
RenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition)
Returns the variation to use or null.
|
RenderableDefinition |
NoopVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ExtensionVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
DefaultRenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ChannelVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.