Package org.intermine.dataconversion
Class FullXmlConverter
- java.lang.Object
-
- org.intermine.dataconversion.DataConverter
-
- org.intermine.dataconversion.FullXmlConverter
-
public class FullXmlConverter extends DataConverter
Loads InterMine XML into an items database. This is an alternative to XmlDataLoader, and it can cope with large input files.- Author:
- Matthew Wakeling
-
-
Constructor Summary
Constructors Constructor Description FullXmlConverter(ItemWriter writer, Model model)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(java.io.Reader in)
Unmarshal the Items from the input XML file, and write them to the writer.-
Methods inherited from class org.intermine.dataconversion.DataConverter
addUniqueItemId, alias, close, createItem, getItemWriter, getModel, getUniqueItemId, newId, setStoreHook, store, store, store, store, store
-
-
-
-
Constructor Detail
-
FullXmlConverter
public FullXmlConverter(ItemWriter writer, Model model)
Constructor.- Parameters:
writer
- an ItemWriter to accept the loaded Itemsmodel
- the data model
-
-