org.apache.cocoon.portal.layout.renderer.impl
Class AbstractRenderer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.layout.renderer.impl.AbstractRenderer
- All Implemented Interfaces:
- Disposable, Component, LogEnabled, Serviceable, ThreadSafe, Renderer
- Direct Known Subclasses:
- DefaultLinkRenderer
public abstract class AbstractRenderer
- extends AbstractLogEnabled
- implements Renderer, Serviceable, Disposable, ThreadSafe
Base class for all renderers.
- Version:
- CVS $Id: AbstractRenderer.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 |
rendererSelector
protected ServiceSelector rendererSelector
manager
protected ServiceManager manager
AbstractRenderer
public AbstractRenderer()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
getStylesheetURI
public String getStylesheetURI(Layout layout)
useStylesheet
public boolean useStylesheet()
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- See Also:
Disposable.dispose()
toSAX
public void toSAX(Layout layout,
PortalService service,
ContentHandler handler)
throws SAXException
- Stream out raw layout
- Specified by:
toSAX
in interface Renderer
- Throws:
SAXException
processLayout
protected void processLayout(Layout layout,
PortalService service,
ContentHandler handler)
throws SAXException
- Process a Layout
- Throws:
SAXException
process
protected abstract void process(Layout layout,
PortalService service,
ContentHandler handler)
throws SAXException
- Throws:
SAXException
getAspectDescriptions
public Iterator getAspectDescriptions()
- Return the aspects required for this renderer
- Specified by:
getAspectDescriptions
in interface Renderer
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.