Class IdentifierValidator
java.lang.Object
org.exoplatform.webui.form.validator.AbstractValidator
org.exoplatform.webui.form.validator.MultipleConditionsValidator
org.exoplatform.webui.form.validator.IdentifierValidator
- All Implemented Interfaces:
Serializable,Validator
Created by The eXo Platform SARL Author : Dang Van Minh minhdv81@yahoo.com Jun 7, 2006
Validates whether the value is composed of letters, digit , '_' or '-'h First character could not be digit or '-'
- See Also:
-
Field Summary
Fields inherited from class org.exoplatform.webui.form.validator.AbstractValidator
exceptionOnMissingMandatory, trimValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvalidate(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages, UIFormInput uiInput) Methods inherited from class org.exoplatform.webui.form.validator.MultipleConditionsValidator
getMessageLocalizationKey, isValid, validateMethods inherited from class org.exoplatform.webui.form.validator.AbstractValidator
createMessageException, createMessageException, getLabelFor, getMessageArgs, trimmedValueOrNullIfBypassed
-
Constructor Details
-
IdentifierValidator
public IdentifierValidator()
-
-
Method Details
-
validate
protected void validate(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages, UIFormInput uiInput) - Specified by:
validatein classMultipleConditionsValidator
-