org.JCaiF.Sonar
Class SonarEngine
java.lang.Object
org.JCaiF.Sonar.SonarEngine
public class SonarEngine
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mainComponent
public SurveyComponent mainComponent
currentQuestion
public SurveyQuestion currentQuestion
SonarEngine
public SonarEngine(org.jdom.Document d)
SonarEngine
public SonarEngine(java.io.File f)
SonarEngine
public SonarEngine(java.lang.String s)
SonarEngine
public SonarEngine(SurveyComponent c)
getDataOutput
public org.jdom.Element getDataOutput()
getDataOutput
public org.jdom.Element getDataOutput(SurveyObject s)
buildListItem
public ListItem buildListItem(org.jdom.Element e)
buildList
public ResponseList buildList(org.jdom.Element e)
buildComponent
public SurveyComponent buildComponent(org.jdom.Element e)
setMainComponent
public void setMainComponent(SurveyComponent c)
setCurrentQuestion
public void setCurrentQuestion(SurveyQuestion q)
init
public void init()
getMainComponent
public SurveyComponent getMainComponent()
getCurrentQuestion
public SurveyQuestion getCurrentQuestion()
hasNextQuestion
public boolean hasNextQuestion()
nextQuestion
public SurveyQuestion nextQuestion()
getNextQuestion
public SurveyQuestion getNextQuestion()
getNextQuestion
public SurveyQuestion getNextQuestion(boolean checkLogic)
hasPreviousQuestion
public boolean hasPreviousQuestion()
getPreviousQuestion
public SurveyQuestion getPreviousQuestion()
previousQuestion
public SurveyQuestion previousQuestion()