This project has retired. For details please refer to its
Attic page .
PortletWindowAspect (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.portal.layout.renderer.aspect.impl
Class PortletWindowAspect
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.PortletWindowAspect
All Implemented Interfaces: Component , Contextualizable , LogEnabled , Serviceable , ThreadSafe , RendererAspect
public final class PortletWindowAspect extends AbstractAspect implements Contextualizable
This aspect draws a portlet window for a JSR-168 implementation.
Example XML:
<window>
<title>title</title>
<maximize-uri>event</maximize-uri>
<minimize-uri>event</minimize-uri>
<fullscreen-uri>event</fullscreen-uri>
<edit-uri>event</edit-uri>
<help-uri>event</help-uri>
<view-uri>event</view-uri>
<!-- output of following renderers -->
</window>
Applicable to:
Parameters
root-tag Should a root tag surrounding the following output
be generated? boolean true
tag-name Name of the root tag if requested.
String "window"
Version:
CVS $Id: PortletWindowAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
Field Summary
protected org.apache.pluto.services.PortletContainerEnvironment
environment
The environment
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
environment
protected org.apache.pluto.services.PortletContainerEnvironment environment
The environment
PortletWindowAspect
public PortletWindowAspect ()
contextualize
public void contextualize (Context context)
throws ContextException
Specified by: contextualize
in interface Contextualizable
Throws:
ContextException
toSAX
public void toSAX (RendererAspectContext context,
Layout layout,
PortalService service,
ContentHandler contenthandler)
throws SAXException
Description copied from interface: RendererAspect
Stream out raw layout
Specified by: toSAX
in interface RendererAspect
Overrides: toSAX
in class AbstractAspect
Throws:
SAXException
prepareConfiguration
public Object prepareConfiguration (Parameters configuration)
throws ParameterException
Description copied from interface: RendererAspect
Compile the configuration.
A renderer aspect can "compile" the configuration in
order to increase performance.
If the renderer does not want to compile it should
simply return the configuration.
The "compiled" configuration is passed to the
RendererAspect.getAspectDescriptions(Object)
method and
is available during streaming via the context object.
This method can also be used for validation the configuration.
Specified by: prepareConfiguration
in interface RendererAspect
Overrides: prepareConfiguration
in class AbstractAspect
Throws:
ParameterException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.