diff options
author | stuconnolly <stuart02@gmail.com> | 2010-11-05 21:15:18 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-11-05 21:15:18 +0000 |
commit | a9be9780875d249019bd0cdf55eba960fb6f44be (patch) | |
tree | af7477b3e9c964dedf67ff40385f5724713ccc03 /Source/SPXMLExporter.h | |
parent | f683094590e4a95eb047893584493ed7b32e2a02 (diff) | |
download | sequelpro-a9be9780875d249019bd0cdf55eba960fb6f44be.tar.gz sequelpro-a9be9780875d249019bd0cdf55eba960fb6f44be.tar.bz2 sequelpro-a9be9780875d249019bd0cdf55eba960fb6f44be.zip |
Complete the implementation of supporting MySQL's XML schema format when exporting. Also, restore our old format and give the user the choice during export (defaults to MySQL schema). Completes the implementation of issue #840.
Diffstat (limited to 'Source/SPXMLExporter.h')
-rw-r--r-- | Source/SPXMLExporter.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/Source/SPXMLExporter.h b/Source/SPXMLExporter.h index 8d7a740c..f7b94f86 100644 --- a/Source/SPXMLExporter.h +++ b/Source/SPXMLExporter.h @@ -41,27 +41,47 @@ NSString *xmlTableName; NSString *xmlNULLString; + + BOOL xmlOutputIncludeStructure; + BOOL xmlOutputIncludeContent; + + SPXMLExportFormat xmlFormat; } /** * @property delegate Exporter delegate */ -@property(readwrite, assign) NSObject <SPXMLExporterProtocol> *delegate; +@property (readwrite, assign) NSObject <SPXMLExporterProtocol> *delegate; /** * @property xmlDataArray Data array */ -@property(readwrite, retain) NSArray *xmlDataArray; +@property (readwrite, retain) NSArray *xmlDataArray; /** * @property xmlTableName Table name */ -@property(readwrite, retain) NSString *xmlTableName; +@property (readwrite, retain) NSString *xmlTableName; /** * @property xmlNULLString XML NULL string */ -@property(readwrite, retain) NSString *xmlNULLString; +@property (readwrite, retain) NSString *xmlNULLString; + +/** + * @property xmlOutputIncludeStructure Include table structure + */ +@property (readwrite, assign) BOOL xmlOutputIncludeStructure; + +/** + * @property xmlOutputIncludeContent Include table content + */ +@property (readwrite, assign) BOOL xmlOutputIncludeContent; + +/** + * @property xmlFormat + */ +@property (readwrite, assign) SPXMLExportFormat xmlFormat; - (id)initWithDelegate:(NSObject *)exportDelegate; |