private boolean validateAllRulesForSingleCell(final int formRow, final int formCol, final FacesCell cell,
			final Cell poiCell, final String value, final SheetConfiguration sheetConfig,
			final List<CellFormAttributes> cellAttributes, boolean updateGui) {
		Sheet sheet1 = parent.getWb().getSheet(sheetConfig.getSheetName());
		for (CellFormAttributes attr : cellAttributes) {
			boolean pass = doValidation(value, attr, poiCell.getRowIndex(), poiCell.getColumnIndex(), sheet1);
			if (!pass) {
				String errmsg = attr.getMessage();
				if (errmsg == null) {
					errmsg = TieConstants.DEFALT_MSG_INVALID_INPUT;
				}
				cell.setErrormsg(errmsg);
				LOG.log(Level.INFO, "Validation failed for sheet {0} row {1} column {2} : {3}", new Object[] {
						poiCell.getSheet().getSheetName(), poiCell.getRowIndex(), poiCell.getColumnIndex(), errmsg });
				refreshAfterStatusChanged(false, true, formRow, formCol, cell, updateGui);
				return false;
			}

		}
		return true;
	}
private boolean validateAllRulesForSingleCell ( final int formRow , final int formCol , final FacesCell cell , final Cell poiCell , final String value , final SheetConfiguration sheetConfig , final List < CellFormAttributes > cellAttributes , boolean updateGui ) { Sheet sheet1 = parent . getWb ( ) . getSheet ( sheetConfig . getSheetName ( ) ) ; for ( CellFormAttributes attr : cellAttributes ) { boolean pass = doValidation ( value , attr , poiCell . getRowIndex ( ) , poiCell . getColumnIndex ( ) , sheet1 ) ; if ( ! pass ) { String errmsg = attr . getMessage ( ) ; if ( errmsg == null ) { errmsg = TieConstants . DEFALT_MSG_INVALID_INPUT ; } cell . setErrormsg ( errmsg ) ; LOG . log ( Level . INFO , "Validation failed for sheet {0} row {1} column {2} : {3}" , new Object [ ] { poiCell . getSheet ( ) . getSheetName ( ) , poiCell . getRowIndex ( ) , poiCell . getColumnIndex ( ) , errmsg } ) ; refreshAfterStatusChanged ( false , true , formRow , formCol , cell , updateGui ) ; return false ; } } return true ; }
Validate all rules for single cell.

@param formRow            the form row
@param formCol            the form col
@param cell            the cell
@param poiCell            the poi cell
@param value            the value
@param sheetConfig            the sheet config
@param cellAttributes            the cell attributes
@param updateGui the update gui
@return true, if successful