public class SerialDemoXML extends SerialDemoAbstractBase
Show the XML serialization added to "java.beans.*" in JDK1.4.
Subclass "SerialDemoAbstratBase" to get most of infrastructure
Fields Summary
public static final String
FILENAME
Constructors Summary
Methods Summary
public void
dump()
Display the data
XMLDecoder inp = new XMLDecoder( // NEEDS JDK 1.4
new BufferedInputStream(
new FileInputStream(FILENAME)));
System.out.println(inp.readObject());
inp.close();