|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.geometry.persistence.GeometryItemSerializer
The GeometryItemSerializer is responsible to convert a GeometryItem into an AttributeList. This AttributeList contains Attributes for each field of a GeometryItem.
| Constructor Summary | |
GeometryItemSerializer(GeometryItem item)
Constructor for GeometryItemSerializer. |
|
| Method Summary | |
static java.lang.String |
getTypeName(int type)
Returns the type name for the given 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 |
public GeometryItemSerializer(GeometryItem item)
item - the GeometryItem 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 type to get the name for
SerializeException - if the given type is unknown
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||