com.tagtraum.sixbs.adapters.util
Class ListAdapt

java.lang.Object
  extended bycom.tagtraum.sixbs.AbstractAdapter
      extended bycom.tagtraum.sixbs.adapters.util.ListAdapt
All Implemented Interfaces:
Adapter
Direct Known Subclasses:
ArrayListAdapt, LinkedListAdapt, VectorAdapt

public class ListAdapt
extends AbstractAdapter

Adapter for an ArrayList. Uses ListAdapt.

Version:
$Id: ListAdapt.java,v 1.1 2001/05/06 14:55:02 Hendrik Exp $
Author:
Hendrik Schreiber

Field Summary
static java.lang.String vcid
          Source-Version
 
Constructor Summary
ListAdapt(java.util.List list)
           
 
Method Summary
 java.lang.Object deserialize()
          Returns the object that has been initialized from XML by calling the setter methods of a class implementing this interface.
 java.lang.Object[] getList()
           
 void setList(java.lang.Object[] array)
           
 
Methods inherited from class com.tagtraum.sixbs.AbstractAdapter
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vcid

public static java.lang.String vcid
Source-Version

Constructor Detail

ListAdapt

public ListAdapt(java.util.List list)
Method Detail

getList

public java.lang.Object[] getList()

setList

public void setList(java.lang.Object[] array)

deserialize

public java.lang.Object deserialize()
                             throws SIXBSException
Description copied from class: AbstractAdapter
Returns the object that has been initialized from XML by calling the setter methods of a class implementing this interface.

Example:

In ArrayListAdapt this method returns an initialized ArrayList. The ArrayList has been initialized by the Adapter, when the setList(Object[]) method was called by SIXBSReader.

Specified by:
deserialize in interface Adapter
Specified by:
deserialize in class AbstractAdapter
Throws:
SIXBSException