133134135136137138139140141142143
} } @Override public void byteProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Byte value = (Byte) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
142143144145146147148149150151152
} } @Override public void shortProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Short value = (Short) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
151152153154155156157158159160161
} } @Override public void intProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Integer value = (Integer) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
160161162163164165166167168169170
} } @Override public void longProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Long value = (Long) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
169170171172173174175176177178179
} } @Override public void integerProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); BigInteger value = (BigInteger) context.getValue(name); if (value != null) { cell.setCellValue(value.toString()); } }
178179180181182183184185186187188
} } @Override public void floatProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Float value = (Float) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
187188189190191192193194195196197
} } @Override public void doubleProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); Double value = (Double) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
196197198199200201202203204205206
} } @Override public void decimalProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); BigDecimal value = (BigDecimal) context.getValue(name); if (value != null) { cell.setCellValue(value.toPlainString()); } }
205206207208209210211212213214215
} } @Override public void stringProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); String value = (String) context.getValue(name); if (value != null) { cell.setCellValue(value); } }
214215216217218219220221222223224225
} } @Override public void dateProperty(PropertyName name, Context context) { Cell cell = context.nextCell(); cell.setCellStyle(info.dataStyle); Calendar value = (Calendar) context.getValue(name); if (value != null) { cell.setCellValue(value); } }