| 
Elexis API documentation as of September 4 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elexis.data.XML2Database
public class XML2Database
This class helps exporting/importing of database data.
 Export is transforming database values into an xml sheet. 
 Import is reading an xml sheet and updating the database.
 XML structure looks like: 
 
 
 
 ... other field values 
 
| Constructor Summary | |
|---|---|
XML2Database()
 | 
|
| Method Summary | |
|---|---|
static java.lang.String | 
exportData(java.util.List<? extends PersistentObject> dataList)
Exports an array  | 
static java.lang.String | 
exportData(PersistentObject object)
Exports a persistent object  | 
static void | 
importData(java.lang.String data,
           boolean overwrite)
Imports data into database.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public XML2Database()
| Method Detail | 
|---|
public static void importData(java.lang.String data,
                              boolean overwrite)
public static java.lang.String exportData(PersistentObject object)
public static java.lang.String exportData(java.util.List<? extends PersistentObject> dataList)
  | 
Elexis API documentation as of September 4 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||