|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.xml.io.XMLIOFile
This is a dummy class. It saves the name of a file, and restores it registering it with the XMLIOManager
Constructor Summary | |
XMLIOFile()
The default constructor does nothing |
|
XMLIOFile(String fileName)
The constructor only loads the name of the file |
Method Summary | |
void |
restore(XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
Restore the object configuration. |
void |
save(XMLIOManager xmlioManager,
org.jdom.Element el)
Save the current configuration of an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLIOFile()
public XMLIOFile(String fileName)
fileName
- the name of the fileMethod Detail |
public void save(XMLIOManager xmlioManager, org.jdom.Element el)
XMLIO
save
in interface XMLIO
xmlioManager
- The objects ID manager.el
- The jdom node containing the object's configuration info.
This node is created by the XMLIOManager. Its name is,
by default, the final part of the object's class.
The node contains the attribute "objId", i.e. the unique id
assigned to this object by the XMLIOManager. This id is
used internally by the XMLIOManager for cross references
to this object. The user has to append to this node all
the attributes and other Elements required to save the
object's configuration. Any other object, either XMLIO or Proxy-XMLIO,
that needs to be saved has to be passed to the XMLIOManager through its save(Object) method.XMLIOManager.save(Object obj).
public void restore(XMLIOManager xmlioManager, org.jdom.Element nodeEl)
XMLIO
restore
in interface XMLIO
xmlioManager
- The objects ID manager.nodeEl
- The jdom node containing the object's configuration info.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |