|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.basic.AbstractSimArchive jasi.sim.user.archive.XMLArchive
public class XMLArchive
Simulation archive using the XML format.
Constructor Summary | |
---|---|
XMLArchive()
|
Method Summary | |
---|---|
java.lang.String |
getExtension()
Get the file extension of an archive. |
void |
prepareXMLEncoder(java.beans.XMLEncoder e)
Set the persistence delegates of that XML encoder. |
void |
readElements()
Read simulation elements from archive. |
void |
readEvents()
Read simulation events from archive. |
void |
readFinish()
Finish reading this archive from a file. |
void |
readInit(AbstractSimKernel sim,
java.lang.String file)
Initialization of reading this archive, when imported from a file. |
void |
readTables()
Read condition tables from archive. |
java.lang.Object |
writeAndReadXML(java.lang.Object o)
Write and read object in XML file. |
java.lang.Object |
writeAndReadXML(java.lang.Object o,
java.lang.String file)
Write and read object in XML file. |
void |
writeElements()
Write simulation elements into archive. |
void |
writeEvents()
Write simulation events into archive. |
void |
writeFinish()
Write this archive to a file in XML format. |
void |
writeInit(AbstractSimKernel sim,
java.lang.String file)
Initialize this archive to export in a file in XML format. |
void |
writeTables()
Write condition tables into archive. |
Methods inherited from class jasi.sim.basic.AbstractSimArchive |
---|
read, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLArchive()
Method Detail |
---|
public void writeInit(AbstractSimKernel sim, java.lang.String file)
writeInit
in class AbstractSimArchive
sim
- The simulation instance.file
- The file name.AbstractSimArchive.writeInit(jasi.sim.basic.AbstractSimKernel,
java.lang.String)
public void readInit(AbstractSimKernel sim, java.lang.String file)
readInit
in class AbstractSimArchive
sim
- The simulation instance.file
- The file name.public void writeTables()
writeTables
in class AbstractSimArchive
AbstractSimArchive.writeTables()
public void readTables()
readTables
in class AbstractSimArchive
public void writeElements()
writeElements
in class AbstractSimArchive
AbstractSimArchive.writeElements()
public void readElements()
readElements
in class AbstractSimArchive
public void writeEvents()
writeEvents
in class AbstractSimArchive
AbstractSimArchive.writeEvents()
public void readEvents()
readEvents
in class AbstractSimArchive
public void writeFinish()
writeFinish
in class AbstractSimArchive
AbstractSimArchive.writeFinish()
public void readFinish()
readFinish
in class AbstractSimArchive
public java.lang.String getExtension()
getExtension
in class AbstractSimArchive
public java.lang.Object writeAndReadXML(java.lang.Object o)
o
- The object to be written.
public java.lang.Object writeAndReadXML(java.lang.Object o, java.lang.String file)
o
- The object to be written.file
- The XML file.
public void prepareXMLEncoder(java.beans.XMLEncoder e)
e
- The XML encoder.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |