org.jsurveylib
Interface ClientSurvey
- All Known Implementing Classes:
- Survey
public interface ClientSurvey
The Survey class has a lot of methods that are public but for internal use only. This interface only exposes methods the client should
be calling. It is recommended you use this interface whenever you create a Survey object:
ClientSurvey survey = new Survey("surveyGettingStarted.xml");
The Survey, ClientSurvey, SurveyPanel and the SurveyAdapter are the ONLY objects that the client should interact with directly. Even then, there
may be public methods in this class that are marked "for internal use only". Methods marked "for
internal use only" may be renamed, removed or replaced in future versions. Because of this uncertain future,
it is highly recommended you don't use these methods: Your application may not compile when you upgrade.
Most other classes are marked "for internal use only" but even if they aren't, these are the only
classes that you should be interacting with.
Copyright (c)2007, Daniel Kaplan
- Since:
- 7.10.8
- Author:
- Daniel Kaplan
- See Also:
Survey
addSurveyListener
void addSurveyListener(SurveyListener listener)
removeSurveyListener
void removeSurveyListener(SurveyListener listener)
loadXMLAnswers
void loadXMLAnswers(java.io.Reader answerXMLReader)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
loadXMLAnswers
void loadXMLAnswers(java.lang.String answerXMLFile)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
saveXMLAnswers
void saveXMLAnswers(java.lang.String outputXMLFile)
throws java.io.IOException
- Throws:
java.io.IOException
saveXMLAnswers
void saveXMLAnswers(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
getAnswerMap
java.util.Map<java.lang.String,java.lang.String> getAnswerMap()
getAnswer
java.lang.String getAnswer(java.lang.String id)
getTitle
java.lang.String getTitle()
getWorkingFilePath
java.lang.String getWorkingFilePath()