edu.nrao.sss.util
Interface XmlSerializable


public interface XmlSerializable

An XmlSerializable is an object that can read and write its state in an XML format.

CVS Info:

$Revision: 161 $
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $
$Author: btruitt $

Since:
2006-02-23
Author:
David M. Harland

Method Summary
 void fromXml(String xml)
          Sets the state of this object based on the contents of the xml parameter.
 String toXml()
          Returns an XML representation of this object.
 

Method Detail

toXml

String toXml()
Returns an XML representation of this object.

Returns:
an XML representation of this object.

fromXml

void fromXml(String xml)
Sets the state of this object based on the contents of the xml parameter.

Parameters:
xml - an XML representation of this object.


Copyright © 2009. All Rights Reserved.