The DxlExporter class converts Domino data to DXL. Use the createDxlExporter method in Session to create a DxlExporter object. Use the exportDxl method to perform the export. Input to exportDxl can be a Database, Document, DocumentCollection, or NoteCollection object. Output is a String object.
The DxlExporter class has the following properties:
Property |
Data type |
Description |
boolean |
true to convert Domino bit maps to GIF format |
|
String |
value of SYSTEM in the !DOCTYPE statement |
|
boolean |
true to exit on first fatal error |
|
boolean |
false to export formatted DXL |
|
String |
XML representation of warnings, errors, and fatal errors generated by the processor |
|
String |
comment added to the top of the log |
|
boolean |
false to suppress the !DOCTYPE statement |
The DXLImporter class converts DXL to Domino data. Use the createDXLImporter method in Session to create a DxlImporter object. Input to DxlImporter can be a String, Stream, or NotesRichTextItem object. Output is to a Database object.
The import operation constructs a list of note IDs for the newly imported notes. You can access these note IDs using the getFirstImportedNoteId and getNextImportedNoteId methods.
The DxlImporter class has the following properties:
Property |
Data type |
Description |
int |
handling of incoming ACL entries |
|
boolean |
whether the target database is full-text indexed |
|
int |
handling of incoming design elements |
|
int |
handling of incoming documents |
|
boolean |
true to exit on first fatal error |
|
int |
number of notes imported |
|
int |
whether a DTD specified in the XML declaration statement should be used to validate the input XML |
|
String |
XML representation of warnings, errors, and fatal errors generated by the processor |
|
String |
comment added to the top of the log |
|
boolean |
true replaces the database properties from the DXL |
|
getReplicaRequiredForReplaceOrUpdate and setReplicaRequiredForReplaceOrUpdate |
boolean |
true requires that the replica ID of the DXL and the target database match |
Integer |
error logging options |