org.apache.wsrp4j.persistence.xml.driver
Class ConsumerPortletRegistrationList
java.lang.Object
org.apache.wsrp4j.persistence.xml.driver.PersistentDataObjectImpl
org.apache.wsrp4j.persistence.xml.driver.ConsumerPortletRegistrationList
- All Implemented Interfaces:
- PersistentDataObject, PersistentDataObjectXML
- public class ConsumerPortletRegistrationList
- extends PersistentDataObjectImpl
This class collects ConsumerPortletRegistrations and implements the
marshal / unmarshal methods for CASTOR XML file support. Detailed
information on persistent organizational data has to be requested
with this class from the corresponding PersistentInformationProvider.
- Version:
- $Id: ConsumerPortletRegistrationList.java,v 1.4 2005/08/10 14:59:56 cziegeler Exp $
- Author:
- Ralf Altrichter
|
Method Summary |
void |
marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
Writes a ConsumerPortletRegistration, which must be the first element
in the PersistentDataObject map, to a persistent XML file. |
void |
unMarshalFile(java.io.FileReader fileReader,
org.exolab.castor.xml.Unmarshaller unmarshaller)
Constructs a ConsumerPortletRegistration object from a CASTOR persistent
XML file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private Logger logger
ConsumerPortletRegistrationList
public ConsumerPortletRegistrationList()
- Default Constructor
unMarshalFile
public void unMarshalFile(java.io.FileReader fileReader,
org.exolab.castor.xml.Unmarshaller unmarshaller)
throws WSRPException
- Constructs a ConsumerPortletRegistration object from a CASTOR persistent
XML file.
- Specified by:
unMarshalFile in interface PersistentDataObjectXML- Specified by:
unMarshalFile in class PersistentDataObjectImpl
- Parameters:
fileReader - to the input data fileunmarshaller - optional, part of the CASTOR package. In case of
a null value as input parameter, the static methods
of the CASTOR unmarshaller are used.
- Throws:
WSRPException
marshalFile
public void marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
throws WSRPException
- Writes a ConsumerPortletRegistration, which must be the first element
in the PersistentDataObject map, to a persistent XML file. In case
of a null value as input parameter, the static methods of the CASTOR
Marshaller are used.
- Specified by:
marshalFile in interface PersistentDataObjectXML- Specified by:
marshalFile in class PersistentDataObjectImpl
- Parameters:
fileWriter - to the output XML file
- Throws:
WSRPException
--