|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsrp4j.persistence.xml.driver.PersistentDataObjectImpl
org.apache.wsrp4j.persistence.xml.driver.PortletList
This class collects Portlets 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.
| Field Summary | |
private Logger |
logger
|
| Fields inherited from class org.apache.wsrp4j.persistence.xml.driver.PersistentDataObjectImpl |
_lastElement, _objects |
| Constructor Summary | |
PortletList()
Default Constructor |
|
| Method Summary | |
void |
marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
Writes a Portlet, 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 Portlet object from a CASTOR persistent XML file. |
| Methods inherited from class org.apache.wsrp4j.persistence.xml.driver.PersistentDataObjectImpl |
addObject, clear, getLastElement, getObjects, getPersistentInformation, setPersistentInformation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Logger logger
| Constructor Detail |
public PortletList()
| Method Detail |
public void unMarshalFile(java.io.FileReader fileReader,
org.exolab.castor.xml.Unmarshaller unmarshaller)
throws WSRPException
unMarshalFile in interface PersistentDataObjectXMLunMarshalFile in class PersistentDataObjectImplfileReader - 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.
WSRPException
public void marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
throws WSRPException
marshalFile in interface PersistentDataObjectXMLmarshalFile in class PersistentDataObjectImplfileWriter - to the output XML file
WSRPException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||