Package com.sun.interview
Class ErrorQuestion
java.lang.Object
com.sun.interview.Question
com.sun.interview.NullQuestion
com.sun.interview.ErrorQuestion
A "null" question with no response. In effect, this
posts the text, which must simply be acknowledged.
ErrorQuestions have no successor.
-
Field Summary
Fields inherited from class com.sun.interview.NullQuestion
LEVEL_1, LEVEL_2, LEVEL_3, LEVEL_LEGACY, LEVEL_NONE -
Constructor Summary
ConstructorsConstructorDescriptionErrorQuestion(Interview interview, String tag) Create a question with a nominated tag. -
Method Summary
Methods inherited from class com.sun.interview.NullQuestion
clear, getLevel, getStringValue, load, save, setLevel, setValueMethods inherited from class com.sun.interview.Question
addMarker, equals, export, getChecklistItems, getHelpID, getImage, getInterview, getKey, getResourceString, getResourceString, getSummary, getTag, getText, getTextArgs, hashCode, hasMarker, isEnabled, isHidden, reload, removeMarker, setHelpID, setImage, setImage, setSummary, setText
-
Constructor Details
-
ErrorQuestion
Create a question with a nominated tag.- Parameters:
interview- The interview containing this question.tag- A unique tag to identify this specific question.
-
-
Method Details
-
getNext
Description copied from class:QuestionGet the next question to be asked. -
isValueValid
public boolean isValueValid()Description copied from class:NullQuestionA NullQuestion does not have a value, and so this method always returns true.- Overrides:
isValueValidin classNullQuestion- Returns:
- true
-
isValueAlwaysValid
public boolean isValueAlwaysValid()Description copied from class:NullQuestionA NullQuestion does not have a value, and so this method always returns true.- Overrides:
isValueAlwaysValidin classNullQuestion- Returns:
- true
-
getTextMimeType
-