de.kleopatra.forms.view.builder
Class FormIOHandlerMap

java.lang.Object
  extended byde.kleopatra.support.HandlerMap
      extended byde.kleopatra.forms.view.builder.FormIOHandlerMap

public class FormIOHandlerMap
extends HandlerMap

HandlerMap to map handled to handler classes for form io.

currently custom implementations need to provide a IOHandler for each of the following classes:

PENDING: need some mechanisme to publish and guarantee the necessary IOHandlers

Version:
$Revision: 1.1.1.1 $ - $Date: 2004/06/29 12:43:00 $
Author:
(C) Jeanette Winzenburg, Berlin

Field Summary
 
Fields inherited from class de.kleopatra.support.HandlerMap
handlers
 
Constructor Summary
FormIOHandlerMap()
           
 
Method Summary
 void addIOHandler(java.lang.Class handledClass, java.lang.Class handlerClass)
           
 void addIOHandler(java.lang.String handledClass, java.lang.String handlerClass)
           
protected  boolean checkType(java.lang.Object object)
          checks and returns whether the handler type if compatible with the assumed "similarity" of the collection items.
 IOHandler getIOHandler(java.lang.Class handledClass)
           
protected  void initHandlers()
           
 
Methods inherited from class de.kleopatra.support.HandlerMap
addHandler, addHandler, createMap, getHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormIOHandlerMap

public FormIOHandlerMap()
Method Detail

getIOHandler

public IOHandler getIOHandler(java.lang.Class handledClass)

addIOHandler

public void addIOHandler(java.lang.String handledClass,
                         java.lang.String handlerClass)

addIOHandler

public void addIOHandler(java.lang.Class handledClass,
                         java.lang.Class handlerClass)

checkType

protected boolean checkType(java.lang.Object object)
Description copied from class: HandlerMap
checks and returns whether the handler type if compatible with the assumed "similarity" of the collection items. Here: always true.

Overrides:
checkType in class HandlerMap

initHandlers

protected void initHandlers()
Overrides:
initHandlers in class HandlerMap


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.