public class xmlDocumentCreator
extends java.lang.Object
Constructor and Description |
---|
xmlDocumentCreator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CreateXml(android.database.Cursor cur,
java.lang.String[] primarykeys)
Creates an xml Document and returns it as string
|
void |
CreateXmlToFile(java.lang.String filename,
android.database.Cursor cur,
android.content.Context ctx,
java.lang.String[] primarykeys)
Creates an xml file with the given file name
|
public void CreateXmlToFile(java.lang.String filename, android.database.Cursor cur, android.content.Context ctx, java.lang.String[] primarykeys)
filename
- name of the file with the path suppliedcur
- a database cursor with the datbase contentsctx
- Application Contextprimarykeys
- the list of primary keys, in case you o use unique values
in Text alsopublic java.lang.String CreateXml(android.database.Cursor cur, java.lang.String[] primarykeys)
cur
- a database cursor with the datbase contentsctx
- Application Contextprimarykeys
- the list of primary keys, in case you o use unique values
in Text also