Class DoubleValidator

    • Constructor Detail

      • DoubleValidator

        @Deprecated
        public DoubleValidator​(String errorMessage)
        Deprecated.
        As of 7.0. Use a Double converter on the field instead and/or use a DoubleRangeValidator for validating that the value is inside a given range.
        Creates a validator for checking that a string can be parsed as an double.
        Parameters:
        errorMessage - the message to display in case the value does not validate.