org.apache.cocoon.portal.layout.renderer.aspect
Interface RendererAspectContext

All Known Implementing Classes:
DefaultRendererContext

public interface RendererAspectContext

The renderer aspect context is passed to every renderer aspect. Using this context, a renderer aspect can get it's configuration and it can invoke (if wanted) the next aspect in the aspect chain.

Version:
$Id: RendererAspectContext.java 322471 2005-10-16 13:24:19Z cziegeler $

Method Summary
 Object getAspectConfiguration()
          Get the "compiled" configuration of the aspect.
 Object getAttribute(String key)
          Get an attribute
 Map getObjectModel()
          Get the object model
 void invokeNext(Layout layout, PortalService service, ContentHandler handler)
          Stream out raw layout
 void removeAttribute(String key)
          Remove an attribute
 void setAttribute(String key, Object attribute)
          Set an attribute
 

Method Detail

invokeNext

public void invokeNext(Layout layout,
                       PortalService service,
                       ContentHandler handler)
                throws SAXException
Stream out raw layout

Throws:
SAXException

getAspectConfiguration

public Object getAspectConfiguration()
Get the "compiled" configuration of the aspect.


setAttribute

public void setAttribute(String key,
                         Object attribute)
Set an attribute


getAttribute

public Object getAttribute(String key)
Get an attribute


removeAttribute

public void removeAttribute(String key)
Remove an attribute


getObjectModel

public Map getObjectModel()
Get the object model



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.