public KeePassFile enrichNodesWithBinaryData(KeePassFile keePassFile) {
        Binaries binaryLibrary = keePassFile.getMeta().getBinaries();
        GroupZipper zipper = new GroupZipper(keePassFile);
        Iterator<Group> iter = zipper.iterator();

        while (iter.hasNext()) {
            Group group = iter.next();

            enrichEntriesWithBinaryData(binaryLibrary, group);
        }

        return zipper.close();
    }
public KeePassFile enrichNodesWithBinaryData ( KeePassFile keePassFile ) { Binaries binaryLibrary = keePassFile . getMeta ( ) . getBinaries ( ) ; GroupZipper zipper = new GroupZipper ( keePassFile ) ; Iterator < Group > iter = zipper . iterator ( ) ; while ( iter . hasNext ( ) ) { Group group = iter . next ( ) ; enrichEntriesWithBinaryData ( binaryLibrary , group ) ; } return zipper . close ( ) ; }
Iterates through all nodes of the given KeePass file and replace the
nodes with enriched attachment data nodes.

@param keePassFile
the KeePass file which should be iterated
@return an enriched KeePass file