com.tagtraum.sixbs
Class AbstractAdapter

java.lang.Object
  extended bycom.tagtraum.sixbs.AbstractAdapter
All Implemented Interfaces:
Adapter
Direct Known Subclasses:
ListAdapt, MapAdapt, SetAdapt

public abstract class AbstractAdapter
extends java.lang.Object
implements Adapter

Convenience superclass for Adapters.

Version:
$Id: AbstractAdapter.java,v 1.2 2001/08/06 16:46:41 Hendrik Exp $
Author:
Hendrik Schreiber

Field Summary
static java.lang.String vcid
          Source-Version
 
Constructor Summary
AbstractAdapter()
           
 
Method Summary
abstract  java.lang.Object deserialize()
          Returns the object that has been initialized from XML by calling the setter methods of a class implementing this interface.
 boolean equals(java.lang.Object obj)
           
 int 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

AbstractAdapter

public AbstractAdapter()
Method Detail

deserialize

public abstract java.lang.Object deserialize()
                                      throws SIXBSException
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 ListAdapt.setList(Object[]) method was called by SIXBSReader.

Specified by:
deserialize in interface Adapter
Throws:
SIXBSException

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()