com.tensegrity.composite.style.persistence
Class StyleDescriptorItemSerializer

java.lang.Object
  extended bycom.tensegrity.composite.style.persistence.StyleDescriptorItemSerializer
All Implemented Interfaces:
Serializer

public class StyleDescriptorItemSerializer
extends java.lang.Object
implements Serializer

The StyleDescriptorItemSerializer is responsible for the creation of a proper AttributeList for a given StyleDescriptorItem.

Version:
$Id: StyleDescriptorItemSerializer.java,v 1.3 2004/06/21 12:10:26 GillesIachelini Exp $
Author:
GillesIachelini

Constructor Summary
StyleDescriptorItemSerializer(StyleDescriptorItem item)
          Creates a new StyleDescriptorItemSerializer.
 
Method Summary
 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

StyleDescriptorItemSerializer

public StyleDescriptorItemSerializer(StyleDescriptorItem item)
Creates a new StyleDescriptorItemSerializer.

Parameters:
item - the StyleDescriptorItem you want 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.


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