net.sourceforge.servletspy.handler.container
Class ListTransformer

java.lang.Object
  extended bynet.sourceforge.servletspy.handler.container.ListTransformer
All Implemented Interfaces:
IContextHandler, ILifecycle

public final class ListTransformer
extends java.lang.Object
implements IContextHandler

Author:
arno schumacher

Field Summary
static java.lang.String PARAM_LIST_SIZE
           
 
Constructor Summary
ListTransformer()
           
 
Method Summary
 void destroy()
           
 void handle(IContext context)
          The handle method of the IContextHandler is called by the engine each time a subject object should be serialized.
 void init(Param[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_LIST_SIZE

public static final java.lang.String PARAM_LIST_SIZE
See Also:
Constant Field Values
Constructor Detail

ListTransformer

public ListTransformer()
Method Detail

handle

public void handle(IContext context)
            throws java.lang.Exception
Description copied from interface: IContextHandler
The handle method of the IContextHandler is called by the engine each time a subject object should be serialized. The IContextHandler may do the serialization itself using the operations provided by the IContext or pass the serialization task to the next IContextHandler by calling the proceed method on the IContext object.

Specified by:
handle in interface IContextHandler
Parameters:
context - The current serialization context
Throws:
java.lang.Exception - To signal serialization problems

init

public void init(Param[] params)
Specified by:
init in interface ILifecycle
Parameters:
params - The initialization parameters

destroy

public void destroy()
Specified by:
destroy in interface ILifecycle


Copyright 2005-2005-2006 Arno Schumacher. All Rights Reserved.