com.tagtraum.sixbs
Class AbstractAdapter
java.lang.Object
|
+--com.tagtraum.sixbs.AbstractAdapter
- All Implemented Interfaces:
- Adapter
- Direct Known Subclasses:
- ListAdapt, MapAdapt, SetAdapt
- public abstract class AbstractAdapter
- extends 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
|
Method Summary |
abstract Object |
deserialize()
Returns the object that has been initialized from XML by calling the
setter methods of a class implementing this interface. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
vcid
public static String vcid
- Source-Version
AbstractAdapter
public AbstractAdapter()
deserialize
public abstract 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
SIXBSException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2001 tagtraum industries.