net.wimpi.pim.contact.io.vcard
Interface ItemHandler

All Known Implementing Classes:
GenericExtensionItemHandler

public interface ItemHandler

Interface modeling an ItemHandler for vcard related versitItem's.

Version:
0.1 (22/07/2003)
Author:
Dieter Wimberger

Method Summary
 versitItem[] createItems(Contact ct)
          Creates versitItem instances, extracting information from the given Contact instance.
 void handleItem(Contact ct, versitItem item)
          Handle the given item adding information to the given Contact instance.
 

Method Detail

handleItem

public void handleItem(Contact ct,
                       versitItem item)
Handle the given item adding information to the given Contact instance.

Parameters:
ct - the Contact instance.
item - the versitItem to be handled.

createItems

public versitItem[] createItems(Contact ct)
Creates versitItem instances, extracting information from the given Contact instance.

Parameters:
ct - the Contact instance.
Returns:
a versitItem[].


Copyright © 2001-2003 jpim team.