|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.rule.persistence.RuleSerializer
This class serializes a single Rule into
an AttributeList.
| Constructor Summary | |
RuleSerializer(Rule rule)
Constructs a new RuleSerializer instance for the given
Rule. |
|
| 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 |
public RuleSerializer(Rule rule)
RuleSerializer instance for the given
Rule.
rule - the Rule 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.Serializer.serialize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||