/** * Returns the instructions that explain how to fill out the form and what the form is about. * * @return instructions that explain how to fill out the form. */ public String getInstructions() { final StringBuilder sb = new StringBuilder(); // Join the list of instructions together separated by newlines for (final Iterator<String> it = dataForm.getInstructions(); it.hasNext(); ) { sb.append(it.next()); // If this is not the last instruction then append a newline if (it.hasNext()) { sb.append("\n"); } } return sb.toString(); }