| org.apache.cocoon.portal.layout.renderer.aspect.RendererAspect
All known Subclasses: org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractAspect,
RendererAspect | public interface RendererAspect extends Component(Code) | | A renderer aspect extends a renderer with a distinct functionality.
It can add a particular decoration like a border or buttons for example.
A renderer aspect has to be thread safe!
author: Carsten Ziegeler author: Volker Schmitt version: CVS $Id: RendererAspect.java 433543 2006-08-22 06:22:54Z crossley $ |
getAspectDescriptions | Iterator getAspectDescriptions(Object preparedConfiguration)(Code) | | Return the aspects required for this renderer
An iterator for the aspect descriptions or null. |
isRequired | boolean isRequired()(Code) | | |
prepareConfiguration | Object prepareConfiguration(Parameters configuration) throws ParameterException(Code) | | Compile the configuration.
A renderer aspect can "compile" the configuration in
order to increase performance.
If the renderer does not want to compile it should
simply return the configuration.
The "compiled" configuration is passed to the
RendererAspect.getAspectDescriptions(Object) method and
is available during streaming via the context object.
This method can also be used for validation the configuration.
|
|
|