info.magnolia.module.templating
Class RenderingModelImpl<RD extends RenderableDefinition>

java.lang.Object
  extended by info.magnolia.module.templating.RenderingModelImpl<RD>
Type Parameters:
RD - the RenderableDefinition bound to the model
All Implemented Interfaces:
RenderingModel<RD>

Deprecated. since 4.5, use RenderingModelImpl instead.

@Deprecated
public class RenderingModelImpl<RD extends RenderableDefinition>
extends Object
implements RenderingModel<RD>

Deprecated.


Field Summary
protected  Content content
          Deprecated.  
protected  RD definition
          Deprecated.  
protected  RenderingModel parentModel
          Deprecated.  
 
Fields inherited from interface info.magnolia.module.templating.RenderingModel
SKIP_RENDERING
 
Constructor Summary
RenderingModelImpl(Content content, RD definition, RenderingModel parent)
          Deprecated.  
 
Method Summary
 String execute()
          Deprecated. Called after all properties were set.
 Content getContent()
          Deprecated. The content node tied to this model.
 RD getDef()
          Deprecated. Shortname for templates: model.def.
 RD getDefinition()
          Deprecated. The renderable (paragraph/template) tied to this model.
 RenderingModel getParent()
          Deprecated. The model of the parent paragraph or template.
 RenderingModel getRoot()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentModel

protected RenderingModel parentModel
Deprecated. 

content

protected final Content content
Deprecated. 

definition

protected final RD extends RenderableDefinition definition
Deprecated. 
Constructor Detail

RenderingModelImpl

public RenderingModelImpl(Content content,
                          RD definition,
                          RenderingModel parent)
Deprecated. 
Method Detail

getParent

public RenderingModel getParent()
Deprecated. 
Description copied from interface: RenderingModel
The model of the parent paragraph or template.

Specified by:
getParent in interface RenderingModel<RD extends RenderableDefinition>

getRoot

public RenderingModel getRoot()
Deprecated. 

getContent

public Content getContent()
Deprecated. 
Description copied from interface: RenderingModel
The content node tied to this model.

Specified by:
getContent in interface RenderingModel<RD extends RenderableDefinition>

getDef

public RD getDef()
Deprecated. 
Shortname for templates: model.def.


getDefinition

public RD getDefinition()
Deprecated. 
Description copied from interface: RenderingModel
The renderable (paragraph/template) tied to this model.

Specified by:
getDefinition in interface RenderingModel<RD extends RenderableDefinition>

execute

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

Specified by:
execute in interface RenderingModel<RD extends RenderableDefinition>


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