This project has retired. For details please refer to its
Attic page .
DefaultCopletAspect (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.portal.layout.renderer.aspect.impl
Class DefaultCopletAspect
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractAspect
org.apache.cocoon.portal.layout.renderer.aspect.impl.DefaultCopletAspect
All Implemented Interfaces: Component , LogEnabled , Serviceable , ThreadSafe , RendererAspect
public class DefaultCopletAspect extends AbstractAspect
This aspect directly invokes the coplet adapter to stream out the coplet content.
An alternative solution is to generate only cinclude tags by using the
CIncludeCopletAspect
and include the coplet contents later. That would allow caching up to the point
of the cinclude transformer.
Example XML:
<content>
<!-- content streamed from coplet -->
</content>
Applicable to:
Version:
CVS $Id: DefaultCopletAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler , Volker Schmitt
Fields inherited from interface org.apache.cocoon.portal.layout.renderer.aspect.RendererAspect
ROLE
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
DefaultCopletAspect
public DefaultCopletAspect ()
toSAX
public void toSAX (RendererAspectContext context,
Layout layout,
PortalService service,
ContentHandler handler)
throws SAXException
Description copied from interface: RendererAspect
Stream out raw layout
Specified by: toSAX
in interface RendererAspect
Overrides: toSAX
in class AbstractAspect
Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.