|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.event.impl.PageLabelEventConverter
public class PageLabelEventConverter
Convert events from and into strings.
| Field Summary | |
|---|---|
protected PageLabelManager |
labelManager
|
protected ServiceManager |
manager
|
| Fields inherited from interface org.apache.cocoon.portal.event.EventConverter |
|---|
ROLE |
| Constructor Summary | |
|---|---|
PageLabelEventConverter()
|
|
| Method Summary | |
|---|---|
Event |
decode(String value)
Decode an event This is used to "activate" events using a link |
String |
encode(Event event)
Encode an event. |
void |
finish()
This notifies the converter that an event processing phase ends |
boolean |
isMarshallEvents()
Returns true if events are not to be returned as request parameters |
void |
service(ServiceManager manager)
|
void |
start()
This notifies the converter that a new event processing phase starts |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PageLabelManager labelManager
protected ServiceManager manager
| Constructor Detail |
|---|
public PageLabelEventConverter()
| Method Detail |
|---|
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceExceptionpublic String encode(Event event)
EventConverter
encode in interface EventConverterevent - The event to encode
public Event decode(String value)
EventConverter
decode in interface EventConvertervalue - The string representation created using EventConverter.encode(Event)
public void start()
EventConverter
start in interface EventConverterpublic void finish()
EventConverter
finish in interface EventConverterpublic boolean isMarshallEvents()
EventConverter
isMarshallEvents in interface EventConverter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||