java.lang.Object
org.scopemvc.util.convertor.NullStringConvertor
- All Implemented Interfaces:
- StringConvertor
- Direct Known Subclasses:
- BigDecimalStringConvertor, BooleanStringConvertor, DateStringConvertor, NumberStringConvertor, StringStringConvertor
- public abstract class NullStringConvertor
- extends java.lang.Object
- implements StringConvertor
Abstract base class for StringConvertors that recognise
a presetn String value to represent null.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:41 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nullString
private java.lang.String nullString
NullStringConvertor
public NullStringConvertor()
getNullAsString
public java.lang.String getNullAsString()
setNullAsString
public void setNullAsString(java.lang.String inNullString)
throws java.lang.IllegalArgumentException
- Sets String representation used when parameter in
valueAsString 55 is
null.
Method stringAsValue 55 also uses
this value: if parameter is equal to this representation, return value
should be null.
Default value is empty string.
isNull
protected boolean isNull(java.lang.String inString)
- Does the passed String represent
null.