writeln("</INVENTORY_DUMP>");
writeNoCycleLn("</INVENTORY_DUMP>");
    public void logToXMLOutput(Asset invAsset,			       Organization anOrg,			       ArrayList withdrawList,			       ArrayList projWithdrawList,			       ArrayList resupplyList,			       ArrayList projResupplyList,			       Schedule  reorderLevels,			       Schedule  inventoryLevels,			       long aCycleStamp) {	cycleStamp = aCycleStamp;	String orgId = anOrg.getItemIdentificationPG().getItemIdentification();	String assetName = invAsset.getItemIdentificationPG().getItemIdentification();	writeln("<INVENTORY_DUMP org=" + orgId + " item=" + assetName + ">");	logDemandToXMLOutput(withdrawList,projWithdrawList,aCycleStamp);	logResupplyToXMLOutput(resupplyList,projResupplyList,aCycleStamp);	logLevelsToXMLOutput(reorderLevels,inventoryLevels,aCycleStamp);	writeln("</INVENTORY_DUMP>");	try {	    output.flush();	}	catch(IOException e) {	    logger.error("Exception when trying to flush xml stream." + e.toString());	}    }