Interface NullFieldStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      replaceFromClient()
      Provides a replacement value for a null or blank string passed from the client to the server as part of a form submission.
      replaceToClient()
      Provides a replacement value for null, when converting the server-side object to a client-side string.
    • Method Detail

      • replaceToClient

         replaceToClient()
        Provides a replacement value for null, when converting the server-side object to a client-side string. The replacement value, if non-null, will be passed to Translator.toClient(Object).
      • replaceFromClient

         replaceFromClient()
        Provides a replacement value for a null or blank string passed from the client to the server as part of a form submission. This replacement value will be passed to Translator.parseClient(Field, String, String) as if it were the value supplied by the user.
        Returns:
        replacement value (this must not be null)