info.magnolia.module.templating
Interface RenderingModel<RD extends RenderableDefinition>

Type Parameters:
RD - the RenderableDefinition bound to the model
All Known Implementing Classes:
RenderingModelImpl

Deprecated. since 4.5, use RenderingModel

@Deprecated
public interface RenderingModel<RD extends RenderableDefinition>

Deprecated.


Field Summary
static String SKIP_RENDERING
          Deprecated. A constant used in some special cases where rendering must be skipped, i.e.
 
Method Summary
 String execute()
          Deprecated. Called after all properties were set.
 Content getContent()
          Deprecated. The content node tied to this model.
 RD getDefinition()
          Deprecated. The renderable (paragraph/template) tied to this model.
 RenderingModel<?> getParent()
          Deprecated. The model of the parent paragraph or template.
 

Field Detail

SKIP_RENDERING

static final String SKIP_RENDERING
Deprecated. 
A constant used in some special cases where rendering must be skipped, i.e. a redirect template. It can be used by template models as a return value for the execute() method to inform AbstractRenderer that it should not render anything in that particular case.

See Also:
Constant Field Values
Method Detail

getParent

RenderingModel<?> getParent()
Deprecated. 
The model of the parent paragraph or template.


getContent

Content getContent()
Deprecated. 
The content node tied to this model.


getDefinition

RD getDefinition()
Deprecated. 
The renderable (paragraph/template) tied to this model.


execute

String execute()
Deprecated. 
Called after all properties were set. Can return a string which is passed to the method. RenderableDefinition.determineTemplatePath(String, RenderingModel)



Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.