|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.geometry.persistence.GeometryDescriptorSerializer
The GeometryDescriptorSerializer is responsible to convert a GeometryDescriptor into an AttributeList.
| Constructor Summary | |
GeometryDescriptorSerializer(GeometryDescriptor descriptor)
Constructor for GeometryDescriptorSerializer. |
|
| Method Summary | |
static java.lang.String |
getTypeName(int type)
This method returns the matching string constant to a given GeometryDescriptorType constant. |
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 |
public GeometryDescriptorSerializer(GeometryDescriptor descriptor)
descriptor - the GeometryDescriptor to serialize.| Method Detail |
public AttributeList serialize()
throws SerializeException
SerializerAttributeList.
serialize in interface SerializerSerializeException - is thrown whenever an error occurs while
serializing the given object.
public static final java.lang.String getTypeName(int type)
throws SerializeException
type - the integer constant of a GeometryDescriptorType.
SerializeException - thrown if the type is unknown
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||