public List<XFormsError.ServerError> getServerErrors() {
   return serverErrors != null ? serverErrors : Collections.<XFormsError.ServerError>emptyList();
 }
 /** Return the list of loads to send to the client, null if none. */
 public List<Load> getLoadsToRun() {
   if (loadsToRun != null) return loadsToRun;
   else return Collections.emptyList();
 }
 public List<DelayedEvent> getDelayedEvents() {
   if (delayedEvents != null) return delayedEvents;
   else return Collections.emptyList();
 }
 public List<Script> getScriptsToRun() {
   if (scriptsToRun != null) return scriptsToRun;
   else return Collections.emptyList();
 }
 /** Return the list of messages to send to the client, null if none. */
 public List<Message> getMessagesToRun() {
   if (messagesToRun != null) return messagesToRun;
   else return Collections.emptyList();
 }