|
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.DefaultXMLIORegistry
Default XMLIORegistry.
XMLIORegistry
Constructor Summary | |
DefaultXMLIORegistry()
|
Method Summary | |
String |
getClassId(Class clName)
Get the identification string corresponding to a Class. |
Class |
getIdClass(String objName)
Get the Class corresponding to an identification String. |
XMLIOFactory |
getXMLIOFactory(Class objClass)
Get the XMLIOFactory corresponding to the identification string factoryId<\code>
param factoryId the identification String |
XMLIOProxy |
getXMLIOProxy(Class objClass)
Get the appropriate XMLIOProxy to restore the object that wrote the xml node. |
void |
register(Object obj)
Register an XMLIOFactory or an XMLIOProxy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultXMLIORegistry()
Method Detail |
public void register(Object obj)
register
in interface XMLIORegistry
obj
- Either an XMLIOFactory or an XMLIOProxy to be registered.public XMLIOFactory getXMLIOFactory(Class objClass)
factoryId<\code>
param factoryId the identification String
- Specified by:
getXMLIOFactory
in interface XMLIORegistry
- Parameters:
objClass
- The Class of the object to be created.
- Returns:
- the XMLIOFactory corresponding to
factoryId<\code>
public XMLIOProxy getXMLIOProxy(Class objClass)
XMLIORegistry
getXMLIOProxy
in interface XMLIORegistry
objClass
- The Class of the object to be restored.
public String getClassId(Class clName)
XMLIORegistry
getClassId
in interface XMLIORegistry
clName
- The Class.
public Class getIdClass(String objName)
XMLIORegistry
getIdClass
in interface XMLIORegistry
objName
- The object's identification String.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |