Class NumericTranslatorSupportImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T extends java.lang.Number>
      java.lang.String
      getMessageKey​(java.lang.Class<T> type)
      Returns the default message key for parse failures for the indicated type.
      <T extends java.lang.Number>
      T
      parseClient​(java.lang.Class<T> type, java.lang.String clientValue)
      Parses a client-submitted value in a localized manner.
      <T extends java.lang.Number>
      void
      setupTranslation​(java.lang.Class<T> type, Element element, java.lang.String message)
      Adds client-side format validation for the field, appropriate to the indicated type.
      <T extends java.lang.Number>
      java.lang.String
      toClient​(java.lang.Class<T> type, T value)
      Converts a server-side value to a client-side string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait