xml2class
XML data structures

xml2class
Interface XMLSaveable


public interface XMLSaveable

For convenience reasons, any class which is able to describe itself in XML (in order to be written to a file) may implement this interface. Implementing it is however no requirement, as XMLFile looks only for the toXMLString() method, but not for this interface.

Author:
Simon Bünzli, zeniko@gmx.ch
See Also:
XMLFile

Method Summary
 java.lang.String toXMLString()
          Produces a XML representation of the implementing object.
 

Method Detail

toXMLString

public java.lang.String toXMLString()
Produces a XML representation of the implementing object.
Returns:
a XML description of the implementing object.

xml2class
XML data structures

Copyleft 2001 by Simon Bünzli, zeniko@gmx.ch