code: public T getMax() {
      if (StringUtils.isEmpty(getInputElement().getMax())) {
        return null;
      }
      try {
        return this.numberParser.parse(getInputElement().getMax());
      } catch (final ParseException e) {
        return null;
      }
    }
docs: get maximum allowed value.
  
  @return maximum value allowed