|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.dataloader.DataLoader
org.intermine.dataloader.XmlDataLoader
public class XmlDataLoader
Provides a method for unmarshalling XML given source into java business objects then calls store on each. store() is AbstractDataLoader.store().
| Constructor Summary | |
|---|---|
XmlDataLoader(IntegrationWriter iw)
|
|
| Method Summary | |
|---|---|
void |
close()
Perform any necessary clean-up and close the integration writer |
void |
processXml(java.io.InputStream is,
Source source,
Source skelSource)
Static method to unmarshall business objects from a given xml file and call store on each. |
| Methods inherited from class org.intermine.dataloader.DataLoader |
|---|
getIntegrationWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlDataLoader(IntegrationWriter iw)
iw - an IntegrationWriter to use to write objectsDataLoader.DataLoader(IntegrationWriter)| Method Detail |
|---|
public void processXml(java.io.InputStream is,
Source source,
Source skelSource)
throws InterMineException
is - access to xml filesource - the main sourceskelSource - the skeleton source
InterMineException - if anything goes wrong with xml or storing
public void close()
throws java.lang.Exception
java.lang.Exception - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||