public static RevisionManifestDataElementData getRevisionManifestDataElementData(
            List<DataElement> dataElements, CellManifestDataElementData cellData,
            HashMap<ExGuid, ExGuid> revisionIDMappings) throws TikaException {
        ExGuid currentRevisionExGuid =
                cellData.cellManifestCurrentRevision.cellManifestCurrentRevisionExGuid;

        if (!revisionIDMappings.containsKey(currentRevisionExGuid)) {
            throw new InvalidOperationException(String.format(Locale.US,
                    "Cannot find the revision id %s in the revisionMapping",
                    currentRevisionExGuid.toString()));
        }

        ExGuid revisionMapping = revisionIDMappings.get(currentRevisionExGuid);

        DataElement dataElement = dataElements.stream()
                .filter(element -> element.dataElementExGuid.equals(revisionMapping)).findAny()
                .orElse(null);
        if (dataElement == null) {
            throw new InvalidOperationException(
                    "Cannot find the revision data element with ExGuid " + revisionMapping.guid);
        }

        return dataElement.getData(RevisionManifestDataElementData.class);
    }
This method is used to get revision manifest data element from a list of data element.

@param dataElements       Specify the data element list.
@param cellData           Specify the cell data element.
@param revisionIDMappings Specify mapping of revision id.
@return Return the revision manifest data element.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/util/DataElementUtils.java