com.tensegrity.composite.persistence
Class CompositeLabelSerializer

java.lang.Object
  extended bycom.tensegrity.composite.persistence.CompositeSerializer
      extended bycom.tensegrity.composite.persistence.CompositeLabelSerializer
All Implemented Interfaces:
Serializer

public class CompositeLabelSerializer
extends CompositeSerializer

Serializes a given CompositeLabel into an AttributeList by querying the relevant attributes.

Version:
$Id: CompositeLabelSerializer.java,v 1.16 2004/08/09 14:16:13 GillesIachelini Exp $
Author:
Andreas Ebbert

Constructor Summary
CompositeLabelSerializer(Composite label)
          Constructor specifying the label to serialize.
 
Method Summary
 void addCustomAttributes(AttributeList list)
          Overridden method from CompositeSerializer, called by supers method serialize().
 
Methods inherited from class com.tensegrity.composite.persistence.CompositeSerializer
addCompositeAttributes, addFlag, addLocation, addSize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeLabelSerializer

public CompositeLabelSerializer(Composite label)
Constructor specifying the label to serialize.

Parameters:
label - the label to serialize.
Method Detail

addCustomAttributes

public void addCustomAttributes(AttributeList list)
                         throws AttributeException,
                                ConstraintViolationException
Overridden method from CompositeSerializer, called by supers method serialize().

Parameters:
list - the AttributeList to add the Attributes to.
Throws:
IllegalAttributeException - if there is an illegal Attribute in the AttributeSet.
IllegalNameException - if an Attribute has an illegal name.
IllegalValueException - if there is an illegal value in the AttributeSet.
ConstraintViolationException - if a Constraint was violated.
AttributeException


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