org.apache.tapestry5.internal
Class DefaultNullFieldStrategy

java.lang.Object
  extended by 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
DefaultNullFieldStrategy()
           
 
Method Summary
 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)


Copyright © 2003-2012 The Apache Software Foundation.