org.apache.cocoon.portal.layout.renderer.aspect.impl
Class HistoryAspect
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.HistoryAspect
- All Implemented Interfaces:
- Component, LogEnabled, Serviceable, ThreadSafe, RendererAspect
public class HistoryAspect
- extends AbstractAspect
Save the current state of the layout into the session. Takes into account
state already present as request attribute. Includes aspect data and parameters
as well as aspect data and attributes of a coplet instance if layout is a
coplet layout. This aspect does not add to the XML created by the renderer chain.
Example XML
<!-- output from following renderers -->
Applicable to:
- Version:
- CVS $Id: HistoryAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
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 |
HistoryAspect
public HistoryAspect()
addValues
protected void addValues(String id,
List state,
Map values,
String prefix,
boolean isCopletEvent)
- Add the values to the state
- Parameters:
id
- state
- values
- isCopletEvent
- tells if the event has to be a coplet event
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.