com.tensegrity.composite.persistence
Class CompositeSwimLanePoolSerializer
java.lang.Object
com.tensegrity.composite.persistence.CompositeSerializer
com.tensegrity.composite.persistence.CompositeGroupSerializer
com.tensegrity.composite.persistence.CompositeSwimLanePoolSerializer
- All Implemented Interfaces:
- Serializer
- public class CompositeSwimLanePoolSerializer
- extends CompositeGroupSerializer
The CompositeSwimLanePoolSerializer class is responsible to
convert a CompositeSwimLanePool instance to an
AttributeList.
- Version:
- $Id: CompositeSwimLanePoolSerializer.java,v 1.12 2004/10/11 10:31:53 MichaelKegel Exp $
- Author:
- Gilles Iachelini
|
Method Summary |
protected void |
addComposites(AttributeList composites)
Adds all Composites of the internal
CompositeGroup to the given AttributeList. |
AttributeList |
serialize()
Returns the CustomAttributes, CoordinateSystem, Location, Size,
Transform and Primitives as AttributeList. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeSwimLanePoolSerializer
public CompositeSwimLanePoolSerializer(CompositeGroup group)
- Constructor specifying the
CompositeSwimLanePool to
serialize.
- Parameters:
group - the CompositeSwimLanePool to serialize.
serialize
public AttributeList serialize()
throws SerializeException
- Description copied from class:
CompositeSerializer
- Returns the CustomAttributes, CoordinateSystem, Location, Size,
Transform and Primitives as AttributeList.
- Specified by:
serialize in interface Serializer- Overrides:
serialize in class CompositeGroupSerializer
- Throws:
SerializeException- See Also:
CompositeGroupSerializer.serialize()
addComposites
protected void addComposites(AttributeList composites)
throws IllegalAttributeException,
ConstraintViolationException,
IllegalValueException,
IllegalNameException,
SerializeException
- Description copied from class:
CompositeGroupSerializer
- Adds all
Composites of the internal
CompositeGroup to the given AttributeList.
- Overrides:
addComposites in class CompositeGroupSerializer
- Parameters:
composites - the AttributeList to add the composites to.
- Throws:
ConstraintViolationException - might be thrown if constraints are
violated.
SerializeException - thrown if one of the internally used Serializers
throws an exception.
IllegalAttributeException
IllegalValueException
IllegalNameException- See Also:
CompositeGroupSerializer.addComposites(AttributeList)
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.