JADE v6.1

com.dautelle.xml
Interface Representable

All Known Implementing Classes:
CharData, Matrix, RealtimeNumber

public interface Representable

This interface identifies classes, whose instances are serializable using the XML format.

For deserialization, the reciprocal factory method:

public static Object valueOf(XmlElement xmlElement)
should be provided, either by the class itself, one of its ancestor or a delegate class (Ref. XmlElement.setFactoryClass(java.lang.Class)).

Version:
4.0, February 29, 2003
Author:
Jean-Marie Dautelle
See Also:
XmlElement

Method Summary
 void toXml(XmlElement xml)
          Sets the attributes and content of the XML element corresponding to this object.
 

Method Detail

toXml

public void toXml(XmlElement xml)
Sets the attributes and content of the XML element corresponding to this object.

Parameters:
xml - the XML element to set according to this object's desired XML representation.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.