|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
XMLizable | An object that implements this interface can be written to (and read from) an XML element. |
XMLsaveable | An object that implements this interface can be saved to (and loaded from) an XML file. |
Class Summary | |
---|---|
MyResolver | |
STANDUPFileFilter | A subclass of FileFilter which handles files with specific
extensions. |
XMLFileChooser | A helper class that provides standard Swing JFileChooser s for
loading and saving the various XML-based files used in STANDUP. |
XMLUtils | A collection of utilities for handling XML files. |
XMLUtils.MyErrorHandler |
Exception Summary | |
---|---|
XMLException | A very simple subclass of Exception that is specifically for Exceptions arising from the reading and/or writing of XML files. |
Provides classes and interfaces that handle loading and saving of the various XML-based files in STANDUP.
Essentially, if a class can be written to or read from an XML element, it must implement XMLizable
. If it can be saved to or loaded from a whole XML file, it must implement XMLsaveable
.
Unfortunately, these interfaces do not handle the reading/loading side of things -- that is the responsibility of the implementing class. Typically, they would add a constructor that takes an Element
, File
, or URL
, or a static method that would accept the same parameter and return an instantiated object. To support this, the XMLUtils
class provides several parseXML
methods.
Finally, the XMLFileChooser
class provides standard Java Swing JFileChooser
s for selecting files for loading and/or saving.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |