org.jsurveylib.io
Interface SurveyReader

All Known Implementing Classes:
XMLSurveyReader

public interface SurveyReader

FOR INTERNAL USE ONLY.

Copyright (c)2007, Daniel Kaplan

Since:
7.10.4
Author:
Daniel Kaplan

Method Summary
 java.lang.String getInitScript()
           
 Menu getMenu()
           
 java.lang.String getOnAnswerChanged()
           
 java.util.List<Page> getPages()
          The return value of this method may be modified.
 Strings getStrings()
           
 java.util.Map<java.lang.String,Template> getTemplateMap()
           
 java.lang.String getTitle()
           
 boolean saveToFileOnFinish()
           
 

Method Detail

getTitle

java.lang.String getTitle()

getStrings

Strings getStrings()

getInitScript

java.lang.String getInitScript()

getOnAnswerChanged

java.lang.String getOnAnswerChanged()

getPages

java.util.List<Page> getPages()
The return value of this method may be modified. Yet, when the Survey gets reset, it needs to get the original values from the pages. Therefore, this method must return the configuration's original version of the Survey each time it is called.

Returns:
The list of pages

getTemplateMap

java.util.Map<java.lang.String,Template> getTemplateMap()

getMenu

Menu getMenu()

saveToFileOnFinish

boolean saveToFileOnFinish()