|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to for objects that can be save/restore to/from xml.
Method Summary | |
void |
restore(XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
Restore the object configuration. |
void |
save(XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
Save the current configuration of an object. |
Method Detail |
public void save(XMLIOManager xmlioManager, org.jdom.Element nodeEl)
xmlioManager
- The objects ID manager.nodeEl
- 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)
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 |