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, LogEnabled, Renderer, Serviceable, ThreadSafe
- Direct Known Subclasses:
- DefaultLinkRenderer
- public abstract class AbstractRenderer
- extends AbstractLogEnabled
- implements Renderer, Serviceable, Disposable, ThreadSafe
Base class for all renderers.
- Version:
- $Id: AbstractRenderer.java 327168 2005-10-21 12:56:35Z cziegeler $
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
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
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
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.