PdfFileReader objectReader=currentPdfFile.getObjectReader();
ObjectDecoder objectDecoder=new ObjectDecoder(currentPdfFile.getObjectReader());
//read info object (may be defined and object set in different trailers so must be done at end)
DecryptionFactory decryption=objectReader.getDecryptionObject();
PdfObject infoObject=objectReader.getInfoObject();
if(infoObject!=null &&(!(decryption!=null && (decryption.getBooleanValue(PDFflags.IS_FILE_ENCRYPTED) || decryption.getBooleanValue(PDFflags.IS_PASSWORD_SUPPLIED)))))
readInformationObject(infoObject,objectDecoder);
//read and set XML value
if(metadataObj!=null){