org.norther.tammi.root.castor
Class Container

java.lang.Object
  extended by org.norther.tammi.root.castor.Container

public class Container
extends Object

A container for XML marshalling/unmarshalling.

Author:
Ilkka Priha

Constructor Summary
Container()
          Constructs a new container.
Container(Collection collection)
          Constructs a new container with contents.
 
Method Summary
 Collection getContents()
          Gets the contents.
 void setContents(Collection collection)
          Sets the contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Container

public Container()
Constructs a new container.


Container

public Container(Collection collection)
Constructs a new container with contents.

Parameters:
collection - the contents as a collection.
Method Detail

getContents

public Collection getContents()
Gets the contents.

Returns:
the contents as a collection.

setContents

public void setContents(Collection collection)
Sets the contents.

Parameters:
collection - the contents as a collection.


Copyright © 2004 The Norther Organization. All rights reserved.