Class PositiveNumberFormatValidator
java.lang.Object
org.exoplatform.webui.form.validator.AbstractValidator
org.exoplatform.webui.form.validator.MultipleConditionsValidator
org.exoplatform.webui.form.validator.NumberFormatValidator
org.exoplatform.webui.form.validator.PositiveNumberFormatValidator
- All Implemented Interfaces:
Serializable,Validator
Created by The eXo Platform SARL Author : Vu Duy Tu duytucntt@gmail.com Jun 22, 2007
Validates whether this number is positive or 0
- See Also:
-
Field Summary
Fields inherited from class org.exoplatform.webui.form.validator.AbstractValidator
exceptionOnMissingMandatory, trimValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegervalidateInteger(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages) Methods inherited from class org.exoplatform.webui.form.validator.NumberFormatValidator
validateMethods 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
-
PositiveNumberFormatValidator
public PositiveNumberFormatValidator()
-
-
Method Details
-
validateInteger
protected Integer validateInteger(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages) - Overrides:
validateIntegerin classNumberFormatValidator
-