standup.xml
Interface XMLsaveable

All Superinterfaces:
XMLizable
All Known Implementing Classes:
CustomLexicon, JokeSet, OptionsPackage, Profile, ProfileCloudFrontend, ProfileJokeGeneration, ProfileLexicon, Topic

public interface XMLsaveable
extends XMLizable

An object that implements this interface can be saved to (and loaded from) an XML file. This interface only specifies the file saving -- it is the responsibility of the implementing class to take care of the loading, and subsequent instantiation. Typically it may be a constructor which takes a File or URL, or it may be a static method, e.g. public static Object load(File file) or public static Object load(URL url).

Author:
Ruli Manurung
See Also:
XMLizable

Method Summary
 void save(File file)
          This method saves the necessary information contained within an instance to an XML file.
 
Methods inherited from interface standup.xml.XMLizable
writeXML
 

Method Detail

save

void save(File file)
          throws XMLException
This method saves the necessary information contained within an instance to an XML file. It should:

Parameters:
file - The file to be saved.
Throws:
XMLException