|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for proxyes that can save and restore objects to/from xml.
Method Summary | |
void |
restore(Object obj,
XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
Restore the configuration of an object. |
void |
save(Object obj,
XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
Save the current configuration of an object. |
Class[] |
XMLIOProxyClasses()
Returns the array containing the Class of the objects that the proxy is able to save and restore. |
Method Detail |
public void save(Object obj, XMLIOManager xmlioManager, org.jdom.Element nodeEl) throws IllegalArgumentException
obj
- The object to be saved to xml.xmlioManager
- The objects ID manager.
An
- IllegalArgumentException if the object
is not saveble by this proxy.
IllegalArgumentException
public void restore(Object obj, XMLIOManager xmlioManager, org.jdom.Element nodeEl) throws IllegalArgumentException
obj
- The object to be restored.xmlioManager
- The objects ID manager.nodeEl
- Is the jdom node containing the
object's configuration info
An
- IllegalArgumentException if the object
cannot be restored by this proxy.
IllegalArgumentException
public Class[] XMLIOProxyClasses()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |