com.tagtraum.sixbs.adapters.util
Class SetAdapt

java.lang.Object
  |
  +--com.tagtraum.sixbs.AbstractAdapter
        |
        +--com.tagtraum.sixbs.adapters.util.SetAdapt
All Implemented Interfaces:
Adapter
Direct Known Subclasses:
HashSetAdapt

public class SetAdapt
extends AbstractAdapter

Adapter for an Set.

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

Field Summary
static String vcid
          Source-Version
 
Constructor Summary
SetAdapt(Set set)
           
 
Method Summary
 Object deserialize()
          Returns the object that has been initialized from XML by calling the setter methods of a class implementing this interface.
 Object[] getSet()
           
protected  void setInternalSet(Set set)
           
 void setSet(Object[] setElements)
           
 
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 String vcid
Source-Version

Constructor Detail

SetAdapt

public SetAdapt(Set set)
Method Detail

getSet

public Object[] getSet()

setSet

public void setSet(Object[] setElements)

deserialize

public 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
SIXBSException

setInternalSet

protected void setInternalSet(Set set)


Copyright © 2001 tagtraum industries.