|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for object factories. The XMLIOFactories are meant to create objects in a minimal configuration. These objects will be then restored either by invoking their restore() method (if they implement the XMLIO interface) or by invoking the restore method on the XMLIOProxy responsible to save/restore the given object.
Method Summary | |
Object |
createObject(Class objClass)
Create a given object in a minimal state. |
Class[] |
XMLIOFactoryClasses()
Returns an array of Classes of the objects that the factory is able to create. |
Method Detail |
public Object createObject(Class objClass) throws IllegalArgumentException
objClass
- The Class of the object to be created.
An
- IllegalArgumentException if an object of the given Class
cannot be created.
IllegalArgumentException
public Class[] XMLIOFactoryClasses()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |