org.apache.tapestry5.internal

## Class DefaultNullFieldStrategy

- java.lang.Object
- - org.apache.tapestry5.internal.DefaultNullFieldStrategy

- All Implemented Interfaces:
    NullFieldStrategy

      public class DefaultNullFieldStrategy
      extends Object
      implements NullFieldStrategy

  Default strategy, which is to do nothing: null values stay null.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultNullFieldStrategy()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `replaceFromClient()` Returns null .
    `Object` | `replaceToClient()` Returns null.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### DefaultNullFieldStrategy

          public DefaultNullFieldStrategy()

  - ### Method Detail

    - #### replaceToClient

          public Object replaceToClient()

      Returns null.
      Specified by:
        `replaceToClient` in interface `NullFieldStrategy`

    - #### replaceFromClient

          public String replaceFromClient()

      Returns null .
      Specified by:
        `replaceFromClient` in interface `NullFieldStrategy`
      Returns:
        replacement value (this must not be null)

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.