com.tensegrity.composite.geometry.persistence
Class GeometryDescriptorItemSerializer

java.lang.Object
  extended bycom.tensegrity.composite.geometry.persistence.GeometryDescriptorItemSerializer
All Implemented Interfaces:
Serializer

public class GeometryDescriptorItemSerializer
extends java.lang.Object
implements Serializer

The GeometryDescriptorItemSerializer is responsible to convert a GeometryDescriptorItem into an AttributeList.

Version:
$Id: GeometryDescriptorItemSerializer.java,v 1.19 2006/04/18 08:45:12 MichaelKegel Exp $
Author:
MichaelKegel, Gilles Iachelini

Constructor Summary
GeometryDescriptorItemSerializer(GeometryDescriptorItem item)
          Constructor for GeometryDescriptorItemSerializer.
 
Method Summary
static java.lang.String getTypeName(int type)
           
 AttributeList serialize()
          Translates the information of the object to be serialized into an AttributeList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryDescriptorItemSerializer

public GeometryDescriptorItemSerializer(GeometryDescriptorItem item)
Constructor for GeometryDescriptorItemSerializer.

Parameters:
item - the GeometryDescriptorItem to serialize.
Method Detail

serialize

public AttributeList serialize()
                        throws SerializeException
Description copied from interface: Serializer
Translates the information of the object to be serialized into an AttributeList.

Specified by:
serialize in interface Serializer
Returns:
the list of translated information.
Throws:
SerializeException - is thrown whenever an error occurs while serializing the given object.

getTypeName

public static final java.lang.String getTypeName(int type)
                                          throws SerializeException
Throws:
SerializeException


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.