org.apache.geronimo.gshell.clp.handler
Class ObjectHandler

java.lang.Object
  extended by org.apache.geronimo.gshell.clp.handler.Handler<Object>
      extended by org.apache.geronimo.gshell.clp.handler.ObjectHandler

public class ObjectHandler
extends Handler<Object>

Handler for object types, simply treating them as strings.

This is for compatibility with multi-valued bits that don't use generics to indicate the class of contained elements.

Version:
$Rev: 570994 $ $Date: 2007-08-29 17:18:44 -0700 (Wed, 29 Aug 2007) $

Field Summary
 
Fields inherited from class org.apache.geronimo.gshell.clp.handler.Handler
descriptor, setter
 
Constructor Summary
ObjectHandler(Descriptor desc, Setter<? super Object> setter)
           
 
Method Summary
 String getDefaultMetaVariable()
           
 int handle(Parameters params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectHandler

public ObjectHandler(Descriptor desc,
                     Setter<? super Object> setter)
Method Detail

handle

public int handle(Parameters params)
           throws ProcessingException
Specified by:
handle in class Handler<Object>
Throws:
ProcessingException

getDefaultMetaVariable

public String getDefaultMetaVariable()
Specified by:
getDefaultMetaVariable in class Handler<Object>


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.