settings.getCurrentDatabase().getDbName();
writer.write( getIndent() + "<originator export-time=\"" + new Date().getTime() + "\"/>" );
writer.newLine();
writeFolders( new HashSet() );
PhotoQuery query = new PhotoQuery();
Vector photos = new Vector();
for ( int n = 0; n < query.getPhotoCount(); n++ ) {
photos.add( query.getPhoto( n ) );
}
totalPhotoCount = query.getPhotoCount();
writePhotos( photos );
indent -= 2;
writer.write( getIndent() + "</photovault-data>" );
writer.newLine();
fireStatusChangeEvent( EXPORTER_STATE_COMPLETED );