org.apache.cocoon.portal.event.impl
Class PageLabelEventConverter
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.event.impl.PageLabelEventConverter
- All Implemented Interfaces:
- EventConverter, LogEnabled, Serviceable, ThreadSafe
- public class PageLabelEventConverter
- extends AbstractLogEnabled
- implements EventConverter, Serviceable, ThreadSafe
Convert events from and into strings.
- Version:
- $Id: PageLabelEventConverter.java 326626 2005-10-19 18:16:57Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
labelManager
protected PageLabelManager labelManager
manager
protected ServiceManager manager
PageLabelEventConverter
public PageLabelEventConverter()
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)
encode
public String encode(Event event)
- Description copied from interface:
EventConverter
- Encode an event.
This is used to "activate" events using a link
- Specified by:
encode
in interface EventConverter
- Parameters:
event
- The event to encode
- Returns:
- A unique string representation for this event
- See Also:
EventConverter.encode(org.apache.cocoon.portal.event.Event)
decode
public Event decode(String value)
- Description copied from interface:
EventConverter
- Decode an event.
This is used to "activate" events using a link
- Specified by:
decode
in interface EventConverter
- Parameters:
value
- The string representation created using EventConverter.encode(Event)
- Returns:
- The event or null
- See Also:
EventConverter.decode(java.lang.String)
start
public void start()
- Description copied from interface:
EventConverter
- This notifies the converter that a new event processing phase starts.
- Specified by:
start
in interface EventConverter
- See Also:
EventConverter.start()
finish
public void finish()
- Description copied from interface:
EventConverter
- This notifies the converter that an event processing phase ends.
- Specified by:
finish
in interface EventConverter
- See Also:
EventConverter.finish()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.