org.apache.cocoon.portal.layout.renderer.impl
Class AspectRenderer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.layout.renderer.impl.AspectRenderer
- All Implemented Interfaces:
- Disposable, Component, Configurable, Contextualizable, LogEnabled, Serviceable, ThreadSafe, Renderer
public class AspectRenderer
- extends AbstractLogEnabled
- implements Renderer, Serviceable, Configurable, Disposable, ThreadSafe, Contextualizable
Container for chain of aspect renderers. All aspect renderers are applied in order
of appearance.
Configuration
aspects | List of aspect renderers to apply. See
RendererAspectChain |
| Configuration | EmptyConfiguration |
- Version:
- CVS $Id: AspectRenderer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler, Volker Schmitt
Fields inherited from interface org.apache.cocoon.portal.layout.renderer.Renderer |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
chain
protected RendererAspectChain chain
aspectSelector
protected ServiceSelector aspectSelector
context
protected Context context
AspectRenderer
public AspectRenderer()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
toSAX
public void toSAX(Layout layout,
PortalService service,
ContentHandler handler)
throws SAXException
- Stream out raw layout
- Specified by:
toSAX
in interface Renderer
- Throws:
SAXException
configure
public void configure(Configuration conf)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
getAspectDescriptions
public Iterator getAspectDescriptions()
- Return the aspects required for this renderer
- Specified by:
getAspectDescriptions
in interface Renderer
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.