|
|||||||||||
| 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
This class is the abstract implementation of the class PersistentDataObjectXML.
| Field Summary | |
protected java.lang.Object |
_lastElement
|
protected java.util.ArrayList |
_objects
|
private PersistentInformation |
_persistentInfo
|
| Constructor Summary | |
PersistentDataObjectImpl()
|
|
| Method Summary | |
void |
addObject(java.lang.Object object)
Add an object to the internal list. |
void |
clear()
Clears the object array |
java.lang.Object |
getLastElement()
Returns the last element (object) of the list |
java.util.Iterator |
getObjects()
Returns the list of objects as an iterator. |
PersistentInformation |
getPersistentInformation()
Returns the persistent information object, contained in this data object. |
abstract void |
marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
Marshal of persistent objects |
void |
setPersistentInformation(PersistentInformation persistentInfo)
Set the persistent information object to this data object. |
abstract void |
unMarshalFile(java.io.FileReader fileReader,
org.exolab.castor.xml.Unmarshaller unmarshaller)
Unmarshal of persistent objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private PersistentInformation _persistentInfo
protected java.util.ArrayList _objects
protected java.lang.Object _lastElement
| Constructor Detail |
public PersistentDataObjectImpl()
| Method Detail |
public void setPersistentInformation(PersistentInformation persistentInfo)
setPersistentInformation in interface PersistentDataObjectpersistentInfo - PersistentInformationpublic PersistentInformation getPersistentInformation()
getPersistentInformation in interface PersistentDataObjectPersistentInformationpublic void clear()
clear in interface PersistentDataObjectpublic java.util.Iterator getObjects()
getObjects in interface PersistentDataObjectpublic void addObject(java.lang.Object object)
addObject in interface PersistentDataObjectobject - to be addedpublic java.lang.Object getLastElement()
getLastElement in interface PersistentDataObject
public abstract void unMarshalFile(java.io.FileReader fileReader,
org.exolab.castor.xml.Unmarshaller unmarshaller)
throws WSRPException
unMarshalFile in interface PersistentDataObjectXMLfileReader - of the input XML fileunmarshaller - Unmarshaller, optional
WSRPException
public abstract void marshalFile(java.io.FileWriter fileWriter,
org.exolab.castor.xml.Marshaller marshaller)
throws WSRPException
marshalFile in interface PersistentDataObjectXMLfileWriter - to the output XML file
WSRPException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||