AbstractForm form = attributes.getFormData();
// Check if any fragmentation links need to be written
if (form.isFragmented()) {
AbstractFormFragment active = getCurrentFormFragment(form);
AbstractFormFragment previous = form
.getPreviousFormFragment(active);
AbstractFormFragment next = form.getNextFormFragment(active);
List links = active.getBeforeFragmentLinks(previous, next);
for (int i = 0; i < links.size(); i++) {
Link link = (Link) links.get(i);