src/org/tiefaces/components/websheet/dataobjects/CellMap.java
@Override
	public final Object get(final Object key) {
		Object result = "";
		try {
			CellMapKey mkey = new CellMapKey((String) key);
			if (!mkey.isParseSuccess()) {
				return result;
			}
			Cell poiCell = parent.getCellHelper()
					.getPoiCellWithRowColFromCurrentPage(mkey.getRowIndex(),
							mkey.getColIndex());
			if (poiCell == null) {
				return result;
			}
			if (mkey.isCharted()) {
				result = loadChart(mkey.getRowIndex(), mkey.getColIndex());
			} else if (mkey.isPictured()) {
				result = loadPicture(mkey.getRowIndex(),
						mkey.getColIndex());
			} else if (mkey.isFormatted()) {
				result = CellUtility.getCellValueWithFormat(poiCell,
						parent.getFormulaEvaluator(),
						parent.getDataFormatter());
			} else {
				result = CellUtility.getCellValueWithoutFormat(poiCell);
			}

		} catch (Exception ex) {
			LOG.log(Level.SEVERE, "Web Form CellMap get value error="
					+ ex.getLocalizedMessage(), ex);
		}
		// return blank if null
		return result;
	}
@Override
	public final Object get(final Object key) {
		Object result = "";
		try {
			CellMapKey mkey = new CellMapKey((String) key);
			if (!mkey.isParseSuccess()) {
				return result;
			}
			Cell poiCell = parent.getCellHelper()
					.getPoiCellWithRowColFromCurrentPage(mkey.getRowIndex(),
							mkey.getColIndex());
			if (poiCell == null) {
				return result;
			}
			if (mkey.isCharted()) {
				result = loadChart(mkey.getRowIndex(), mkey.getColIndex());
			} else if (mkey.isPictured()) {
				result = loadPicture(mkey.getRowIndex(),
						mkey.getColIndex());
			} else if (mkey.isFormatted()) {
				result = CellUtility.getCellValueWithFormat(poiCell,
						parent.getFormulaEvaluator(),
						parent.getDataFormatter());
			} else {
				result = CellUtility.getCellValueWithoutFormat(poiCell);
			}

		} catch (Exception ex) {
			LOG.log(Level.SEVERE, "Web Form CellMap get value error="
					+ ex.getLocalizedMessage(), ex);
		}
		// return blank if null
		return result;
	}
@ Override public final Object get ( final Object key ) { Object result = "" ; try { CellMapKey mkey = new CellMapKey ( ( String ) key ) ; if ( ! mkey . isParseSuccess ( ) ) { return result ; } Cell poiCell = parent . getCellHelper ( ) . getPoiCellWithRowColFromCurrentPage ( mkey . getRowIndex ( ) , mkey . getColIndex ( ) ) ; if ( poiCell == null ) { return result ; } if ( mkey . isCharted ( ) ) { result = loadChart ( mkey . getRowIndex ( ) , mkey . getColIndex ( ) ) ; } else if ( mkey . isPictured ( ) ) { result = loadPicture ( mkey . getRowIndex ( ) , mkey . getColIndex ( ) ) ; } else if ( mkey . isFormatted ( ) ) { result = CellUtility . getCellValueWithFormat ( poiCell , parent . getFormulaEvaluator ( ) , parent . getDataFormatter ( ) ) ; } else { result = CellUtility . getCellValueWithoutFormat ( poiCell ) ; } } catch ( Exception ex ) { LOG . log ( Level . SEVERE , "Web Form CellMap get value error=" + ex . getLocalizedMessage ( ) , ex ) ; } // return blank if null
 return result ; }
/*
(non-Javadoc)

@see java.util.Map#get(java.lang.Object)
/ * ( non - Javadoc )