Class TemperatureBoundFieldValidator

  • All Implemented Interfaces:
    com.opensymphony.xwork2.validator.FieldValidator, com.opensymphony.xwork2.validator.ShortCircuitableValidator, com.opensymphony.xwork2.validator.Validator

    @Deprecated
    public class TemperatureBoundFieldValidator
    extends com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
    Deprecated.
    To validate that the temperature is in correct bound.

    Created by tchemit on 22/09/2018.

    Author:
    Tony Chemit - dev@tchemit.fr
    • Constructor Detail

      • TemperatureBoundFieldValidator

        public TemperatureBoundFieldValidator()
        Deprecated.
    • Method Detail

      • setDefaultTemperatureFormat

        public void setDefaultTemperatureFormat​(String defaultTemperatureFormat)
        Deprecated.
      • setMin

        public void setMin​(String min)
        Deprecated.
      • setMax

        public void setMax​(String max)
        Deprecated.
      • validate

        public void validate​(Object object)
                      throws com.opensymphony.xwork2.validator.ValidationException
        Deprecated.
        Throws:
        com.opensymphony.xwork2.validator.ValidationException
      • getValidatorType

        public String getValidatorType()
        Deprecated.
        Specified by:
        getValidatorType in interface com.opensymphony.xwork2.validator.Validator
        Overrides:
        getValidatorType in class com.opensymphony.xwork2.validator.validators.FieldValidatorSupport