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

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

public class StringHandler
extends Handler<String>

Handler for string types.

Version:
$Rev: 698110 $ $Date: 2008-09-23 09:39:22 +0200 (Tue, 23 Sep 2008) $

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

Constructor Detail

StringHandler

public StringHandler(Descriptor desc,
                     Setter<? super String> setter)
Method Detail

handle

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

getDefaultToken

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


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.