dsto.dfc.swing.persistence
Class DbXmlSerializer

java.lang.Object
  extended by dsto.dfc.swing.persistence.DbXmlSerializer
All Implemented Interfaces:
ISerializer

public class DbXmlSerializer
extends Object
implements ISerializer

Plugs DataBeans XML IO into the dsto.dfc.persistence framework.

Version:
$Revision$
Author:
mpp

Constructor Summary
DbXmlSerializer()
           
DbXmlSerializer(String xmlReaderClass)
           
 
Method Summary
 Object deserialize(InputStream input)
           
 XmlInput getXmlInput()
           
 XmlOutput getXmlOutput()
           
 void serialize(OutputStream output, Object object)
           
 void setXmlInput(XmlInput xmlInput)
           
 void setXmlOutput(XmlOutput xmlOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbXmlSerializer

public DbXmlSerializer()

DbXmlSerializer

public DbXmlSerializer(String xmlReaderClass)
Parameters:
xmlReaderClass - The class name of the SAX XMLReader.
Method Detail

serialize

public void serialize(OutputStream output,
                      Object object)
               throws IOException
Specified by:
serialize in interface ISerializer
Throws:
IOException

deserialize

public Object deserialize(InputStream input)
                   throws IOException,
                          ClassNotFoundException
Specified by:
deserialize in interface ISerializer
Throws:
IOException
ClassNotFoundException

getXmlInput

public XmlInput getXmlInput()

getXmlOutput

public XmlOutput getXmlOutput()

setXmlInput

public void setXmlInput(XmlInput xmlInput)

setXmlOutput

public void setXmlOutput(XmlOutput xmlOutput)


Copyright © 2008 Commonwealth of Australia