private void create(){
  DocumentBuilderFactory docBFac;
  DocumentBuilder docBuild;
  try {
    docBFac=DocumentBuilderFactory.newInstance();
    docBuild=docBFac.newDocumentBuilder();
    doc=docBuild.newDocument();
  }
 catch (  Exception ex) {
    ex.printStackTrace();
    return;
  }
  rootElement=doc.createElement("jplagData");
  lastSubmissionID=1000000000;
  rootElement.setAttribute("lastSubID",lastSubmissionID + "");
  entryRoot=doc.createElement("EntriesQueue");
  resultRoot=doc.createElement("ResultData");
  rootElement.appendChild(entryRoot);
  rootElement.appendChild(resultRoot);
  doc.appendChild(rootElement);
  writeXMLFile();
}

private void create ( ) { DocumentBuilderFactory docBFac ; DocumentBuilder docBuild ; try { docBFac = DocumentBuilderFactory . newInstance ( ) ; docBuild = docBFac . newDocumentBuilder ( ) ; doc = docBuild . newDocument ( ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; return ; } rootElement = doc . createElement ( "jplagData" ) ; lastSubmissionID = 1000000000 ; rootElement . setAttribute ( "lastSubID" , lastSubmissionID + "" ) ; entryRoot = doc . createElement ( "EntriesQueue" ) ; resultRoot = doc . createElement ( "ResultData" ) ; rootElement . appendChild ( entryRoot ) ; rootElement . appendChild ( resultRoot ) ; doc . appendChild ( rootElement ) ; writeXMLFile ( ) ; }
creates a new " user submission database " xml file
