net.sourceforge.servletspy.handler.container
Class ArrayTransformer

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

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

Author:
arno schumacher

Field Summary
static int MAX_ARRAY_SIZE
           
static java.lang.String PARAM_ARRAY_SIZE
           
 
Constructor Summary
ArrayTransformer()
           
 
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

MAX_ARRAY_SIZE

public static final int MAX_ARRAY_SIZE
See Also:
Constant Field Values

PARAM_ARRAY_SIZE

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

ArrayTransformer

public ArrayTransformer()
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

destroy

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

init

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


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