org.apache.cocoon.portal.layout.renderer.aspect.impl
Class RemovableAspect
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.RemovableAspect
- All Implemented Interfaces:
- LogEnabled, RendererAspect, Serviceable, ThreadSafe
- public class RemovableAspect
- extends AbstractAspect
Add a tag holding a URI used to remove a coplet from a layout to the
output stream if the coplet is not set to mandatory.
Example XML:
<remove-uri>layout-remove-event</remove-uri>
<!-- output from following renderers -->
Applicable to:
- Version:
- $Id: RemovableAspect.java 322471 2005-10-16 13:24:19Z cziegeler $
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 |
RemovableAspect
public RemovableAspect()
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
- See Also:
RendererAspect.toSAX(org.apache.cocoon.portal.layout.renderer.aspect.RendererAspectContext, org.apache.cocoon.portal.layout.Layout, org.apache.cocoon.portal.PortalService, org.xml.sax.ContentHandler)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.