org.apache.wsrp4j.persistence.xml
Interface PersistentDataObjectXML

All Superinterfaces:
PersistentDataObject
All Known Implementing Classes:
PersistentDataObjectImpl

public interface PersistentDataObjectXML
extends PersistentDataObject

This class is the generic interface for the PersistentDataObject implementations with XML support.

Version:
$Id: PersistentDataObjectXML.java,v 1.4 2005/08/10 14:59:59 cziegeler Exp $
Author:
Ralf Altrichter

Method Summary
 void marshalFile(java.io.FileWriter fileWriter, org.exolab.castor.xml.Marshaller marshaller)
          Marshal of persistent objects
 void unMarshalFile(java.io.FileReader fileReader, org.exolab.castor.xml.Unmarshaller unmarshaller)
          Unmarshal of persistent objects.
 
Methods inherited from interface org.apache.wsrp4j.persistence.PersistentDataObject
addObject, clear, getLastElement, getObjects, getPersistentInformation, setPersistentInformation
 

Method Detail

unMarshalFile

public void unMarshalFile(java.io.FileReader fileReader,
                          org.exolab.castor.xml.Unmarshaller unmarshaller)
                   throws WSRPException
Unmarshal of persistent objects.

Parameters:
fileReader - of the input XML file
unmarshaller - Unmarshaller, optional
Throws:
WSRPException

marshalFile

public void marshalFile(java.io.FileWriter fileWriter,
                        org.exolab.castor.xml.Marshaller marshaller)
                 throws WSRPException
Marshal of persistent objects

Parameters:
fileWriter - to the output XML file
Throws:
WSRPException


--