cmu.survey.jsp.tags
Class QuestionTagStub

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by cmu.survey.jsp.tags.TagSupportAndMore
          extended by cmu.survey.jsp.tags.QuestionTagStub
All Implemented Interfaces:
QuestionTag, java.io.Serializable, java.lang.Cloneable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
Question, QuestionContainerTagStub

public abstract class QuestionTagStub
extends TagSupportAndMore
implements QuestionTag

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cmu.survey.jsp.tags.TagSupportAndMore
dateFormatAmerican, dateTimeFormatAmerican, DAYS_OF_THE_WEEK, debug, MONTHS_OF_THE_YEAR, timeFormatAmerican
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
QuestionTagStub()
           
QuestionTagStub(Survey newSurvey)
           
 
Method Summary
 java.lang.Object clone()
           
 int doStartTag()
           
 java.lang.String getErrorInfo()
           
 java.lang.String getExtraErrorInfo()
           
 java.lang.Integer getID()
           
 Survey getSurvey()
           
 void initSurvey()
           
 void reinit()
           
 void saveErrorInfo(java.lang.String error, java.lang.Throwable throwable)
           
 void setID(java.lang.Integer id)
           
 
Methods inherited from class cmu.survey.jsp.tags.TagSupportAndMore
breakDownToArray, convertDayNameToNum, convertDayNumToName, convertDayNumToName, convertMonthNumToName, doCatch, doEndTag, doFinally, formatDateTimeViewable, formatDateTimeViewable, formatDateViewable, formatTimeNoSecondsViewable, formatTimeNoSecondsViewable, formatTimeNoSecondsViewable, getNumDaysInWeek, parseTimeNoSecondsFromViewable, print, println
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cmu.survey.jsp.tags.QuestionTag
doQuestion
 

Constructor Detail

QuestionTagStub

public QuestionTagStub()

QuestionTagStub

public QuestionTagStub(Survey newSurvey)
Method Detail

initSurvey

public void initSurvey()

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface QuestionTag
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getSurvey

public Survey getSurvey()

setID

public void setID(java.lang.Integer id)

getID

public java.lang.Integer getID()
Specified by:
getID in interface QuestionTag

getExtraErrorInfo

public java.lang.String getExtraErrorInfo()

getErrorInfo

public java.lang.String getErrorInfo()

saveErrorInfo

public void saveErrorInfo(java.lang.String error,
                          java.lang.Throwable throwable)

reinit

public void reinit()
Overrides:
reinit in class TagSupportAndMore