|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.scopemvc.util.convertor.NullStringConvertor
Abstract base class for StringConvertors that recognise a presetn String
value to represent null.
| Constructor Summary | |
NullStringConvertor()
|
|
| Method Summary | |
java.lang.String |
getNullAsString()
|
protected boolean |
isNull(java.lang.String inString)
Does the passed String represent null. |
void |
setNullAsString(java.lang.String inNullString)
Sets String representation used when parameter in valueAsString is null. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.scopemvc.util.convertor.StringConvertor |
stringAsValue, valueAsString |
| Constructor Detail |
public NullStringConvertor()
| Method Detail |
public java.lang.String getNullAsString()
valueAsString is null. Default
value is empty string.
public void setNullAsString(java.lang.String inNullString)
throws java.lang.IllegalArgumentException
valueAsString is null. Method stringAsValue also uses this value: if parameter
is equal to this representation, return value should be null. Default
value is empty string.
inNullString - The new nullAsString value
java.lang.IllegalArgumentException - if passed value is null.protected boolean isNull(java.lang.String inString)
null.
inString - TODO: Describe the Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||