info.magnolia.module.templatingcomponents
Interface AuthoringUiComponent

All Known Implementing Classes:
AbstractAuthoringUiComponent, EditBar, NewBar, PageEditBar, SingletonParagraphBar

public interface AuthoringUiComponent

Implementations of AuthoringUiComponent render specific "components" in templates. They're usually exposed to templating engines via a specific wrapper; see the freemarker and jsp subpackages for examples.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Method Summary
 void postRender()
          This method should be called by templating-engine wrappers after rendering the component AND its body.
 void render(java.lang.Appendable out)
           
 

Method Detail

render

void render(java.lang.Appendable out)
            throws java.io.IOException
Throws:
java.io.IOException

postRender

void postRender()
This method should be called by templating-engine wrappers after rendering the component AND its body. Certain components (SingletonParagraphBar for instance) will need to let the wrapper render their body, and call this afterwards. Can be used, for instance, as a "cleanup" mechanism, if the component modified the context.



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