Modifier and Type | Method and Description |
---|---|
RenderableDefinition |
AggregationStateBasedRenderingContext.getAncestorDefinition(int level) |
RenderableDefinition |
RenderingContext.getAncestorDefinition(int level) |
RenderableDefinition |
AggregationStateBasedRenderingContext.getRenderableDefinition() |
RenderableDefinition |
RenderingContext.getRenderableDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
AggregationStateBasedRenderingContext.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
void |
RenderingListener.after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
Deprecated.
|
void |
AreaFilteringListener.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) |
Collection<AbstractRenderingListener.RenderingListenerReturnCode> |
AggregationStateBasedRenderingContext.before(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.
|
void |
AreaFilteringListener.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 |
AggregationStateBasedRenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition) |
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,
OutputProvider outputProvider) |
void |
RenderingContext.push(javax.jcr.Node content,
RenderableDefinition renderableDefinition,
OutputProvider outputProvider)
Pushes the content and renderableDefinition to be used for rendering.
|
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 |
DefaultRenderingEngine.render(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
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. |
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 abstract void |
AbstractRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript)
Finally execute the rendering.
|
protected void |
FreemarkerRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
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 |
DefaultRenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ExtensionVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
RenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition)
Returns the variation to use or null.
|
RenderableDefinition |
ChannelVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
NoopVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
Modifier and Type | Method and Description |
---|---|
RenderableDefinition |
DefaultRenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
ExtensionVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
RenderableVariationResolver.resolveVariation(RenderableDefinition renderableDefinition)
Returns the variation to use or null.
|
RenderableDefinition |
ChannelVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
RenderableDefinition |
NoopVariationResolver.resolveVariation(RenderableDefinition renderableDefinition) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractTemplatingElement.getDefinitionMessage(RenderableDefinition definition,
String key)
Deprecated.
since 5.4.4. Use new i18n mechanism instead.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PlainTextTemplateRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
protected void |
NoScriptRenderer.onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
protected String |
PlainTextTemplateRenderer.resolveTemplateScript(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> model,
String actionResult) |
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.