public class PatternValidator extends Object implements IValidator
| Constructor and Description |
|---|
PatternValidator(String strValidatorName,
String strValidatorDisplayName,
List<String> listAvailableEntryType)
Constructor of the PatternValidator
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayHtml(Control control) |
String |
getJavascriptControlValue(Control control) |
String |
getJavascriptValidation()
Only the content of the function should be returned.
|
List<String> |
getListAvailableEntryType() |
String |
getValidatorBeanName() |
String |
getValidatorDisplayName() |
boolean |
validate(FormQuestionResponse questionResponse,
Control control) |
public PatternValidator(String strValidatorName, String strValidatorDisplayName, List<String> listAvailableEntryType)
strValidatorName - The validator bean namestrValidatorDisplayName - The validator display namelistAvailableEntryType - The list of available entrytypepublic String getValidatorBeanName()
getValidatorBeanName in interface IValidatorpublic String getValidatorDisplayName()
getValidatorDisplayName in interface IValidatorpublic String getDisplayHtml(Control control)
getDisplayHtml in interface IValidatorcontrol - The control to build modelpublic List<String> getListAvailableEntryType()
getListAvailableEntryType in interface IValidatorpublic boolean validate(FormQuestionResponse questionResponse, Control control)
validate in interface IValidatorquestionResponse - The response to controlcontrol - The control to verifypublic String getJavascriptValidation()
IValidatorgetJavascriptValidation in interface IValidatorpublic String getJavascriptControlValue(Control control)
getJavascriptControlValue in interface IValidatorcontrol - The controlCopyright © 2018 City of Paris. All rights reserved.