Well, a Checkbox will return only it's status, right? Selected / Deselected. So you want to record these states in a array? That would be quite easy.
Assuming, you will parse them inside the while loop, first, do your test/validations to locate a checkbox (in case you have other types of items too), then get it's state with .isSelected() method, and store the result in a simple boolean array, which you can define just before entering the loop ( private boolean[] bools = new boolean[10]; ). This way, you will store all the states.
PS: If this is not what you intended, please give a couple more details
