public class EmailAnswerFormat extends TextAnswerFormat
AnswerFormat.ChoiceAnswerStyle, AnswerFormat.DateAnswerStyle, AnswerFormat.NumberFormattingStyle, AnswerFormat.QuestionType, AnswerFormat.Type
UNLIMITED_LENGTH
Constructor and Description |
---|
EmailAnswerFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnswerValid(java.lang.String text)
Returns a boolean indicating whether the passed in text is valid based on this answer format
|
getMaximumLength, getQuestionType, isMultipleLines, setIsMultipleLines
public boolean isAnswerValid(java.lang.String text)
TextAnswerFormat
isAnswerValid
in class TextAnswerFormat
text
- the user's text answer to be validated