The "Title" identifier given below has to match exactly with the excel column header. You may have to change the \"title\"  given below accordingly for your new identifier. For each new identifier you may have to add this code with changes mentioned.
 
String titleDC = rs.getString("Title");

if (titleDC == null || titleDC.trim().length () == 0)
 {
  System.out.println("You have given null value for the Title dublin core element of "+ archiveFolderName + "_"
  + initialDocumentNo);}
 else
 {
  outDC.write(" <dcvalue element=\"title\" qualifier=\"none\"> ");
  outDC.write( titleDC);
  outDC.write("</dcvalue>\n");
 }