|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.ZeroNullFieldStrategy
public class ZeroNullFieldStrategy
Treats nulls to or from the client as if they were 0's.
Constructor Summary | |
---|---|
ZeroNullFieldStrategy()
|
Method Summary | |
---|---|
java.lang.String |
replaceFromClient()
Returns "0". |
java.lang.Object |
replaceToClient()
Returns the value 0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZeroNullFieldStrategy()
Method Detail |
---|
public java.lang.Object replaceToClient()
replaceToClient
in interface NullFieldStrategy
public java.lang.String replaceFromClient()
replaceFromClient
in interface NullFieldStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |