dsto.dfc.swing.persistence
Class DbXmlSerializer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbXmlSerializer
public DbXmlSerializer()
DbXmlSerializer
public DbXmlSerializer(String xmlReaderClass)
- Parameters:
xmlReaderClass
- The class name of the SAX XMLReader.
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