info.magnolia.rendering.model
Interface EarlyExecutionAware

All Superinterfaces:
RenderingModel

public interface EarlyExecutionAware
extends RenderingModel

Implemented by models that want to handle early execution in a separate callback. Also adds a setter for the parent model. It is called after early execution and before rendering.

Version:
$Id$
See Also:
RenderingModel, ModelExecutionFilter

Field Summary
 
Fields inherited from interface info.magnolia.rendering.model.RenderingModel
SKIP_RENDERING
 
Method Summary
 String executeEarly()
          Called after all properties were set.
 void setParent(RenderingModel parentModel)
          Called before rendering of the paragraph.
 
Methods inherited from interface info.magnolia.rendering.model.RenderingModel
execute, getContent, getContentMap, getDefinition, getParent, getRoot
 

Method Detail

setParent

void setParent(RenderingModel parentModel)
Called before rendering of the paragraph.

Parameters:
parentModel -

executeEarly

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



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