uk.ac.ebi.intact.application.synchron
Class XmlLoader
java.lang.Object
|
+--uk.ac.ebi.intact.application.synchron.XmlLoader
- public class XmlLoader
- extends java.lang.Object
Purpose : extracts data objects from an XML file, inserts
new data entries in the local database and update already
existing data entries.
For all references to non availables data entries,
a zombie object is created
- Author:
- Antje Mueller, Arnaud Ceol
|
Method Summary |
void |
loadFile(java.lang.String xmlFileName)
unmarshall the XML file xmlFile @xmlFile |
static void |
main(java.lang.String[] args)
This main method is only
used for test, and has to be deleted later
with method init and constructor XmlLoader() |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingFile
public static final java.lang.String MappingFile
- See Also:
- Constant Field Values
XmlLoader
public XmlLoader(org.apache.ojb.broker.PersistenceBroker broker)
throws java.lang.Exception
XmlLoader
public XmlLoader()
loadFile
public void loadFile(java.lang.String xmlFileName)
throws java.lang.Exception
- unmarshall the XML file xmlFile @xmlFile
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- This main method is only
used for test, and has to be deleted later
with method init and constructor XmlLoader()
java.lang.Exception
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk