return validate( dataType, format, value, DEFAULT_LOCALE );
if ( value == null ) return null;  if ( DesignChoiceConstants.PARAM_TYPE_DATETIME .equalsIgnoreCase( dataType ) ) return doVidateDateTime( value, locale ); else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT .equalsIgnoreCase( dataType ) ) { Number number = doValidateNumber( dataType, value, locale ); if ( number == null ) return null; return new Double( number.doubleValue( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL .equalsIgnoreCase( dataType ) ) { Number number = doValidateNumber( dataType, value, locale ); if ( number == null ) return null; return new BigDecimal( number.toString( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_INTEGER .equalsIgnoreCase( dataType ) ) { Number number = doValidateNumber( dataType, value, locale ); if ( number == null ) return null; return new Integer( number.intValue( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN .equalsIgnoreCase( dataType ) ) { return doValidateBoolean( value, locale ); } else if ( DesignChoiceConstants.PARAM_TYPE_STRING .equalsIgnoreCase( dataType ) ) { return value; } else { assert false; return null; }
	static public Object validate( String dataType, String format, String value )			throws ValidationValueException	{		return validate( dataType, format, value, DEFAULT_LOCALE );	}