com.tagtraum.sixbs.adapters.util
Class MapAdapt
java.lang.Object
com.tagtraum.sixbs.AbstractAdapter
com.tagtraum.sixbs.adapters.util.MapAdapt
- All Implemented Interfaces:
- Adapter
- Direct Known Subclasses:
- HashMapAdapt, HashtableAdapt, SortedMapAdapt
- public class MapAdapt
- extends AbstractAdapter
Adapter for a Map
.
- Version:
- $Id: MapAdapt.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 |
MapAdapt(java.util.Map map)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
vcid
public static java.lang.String vcid
- Source-Version
MapAdapt
public MapAdapt(java.util.Map map)
getMapEntries
public MapEntry[] getMapEntries()
setMapEntries
public void setMapEntries(MapEntry[] entries)
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
ListAdapt.setList(Object[])
method was called by SIXBSReader
.
- Specified by:
deserialize
in interface Adapter
- Specified by:
deserialize
in class AbstractAdapter
- Throws:
SIXBSException
setInternalMap
protected void setInternalMap(java.util.Map map)