public void add ( int ds , Object value ) throws SerializationException , InvalidDataSetException { if ( value == null ) { return ; } DataSetInfo dsi = dsiFactory . create ( ds ) ; byte [ ] data = dsi . getSerializer ( ) . serialize ( value , activeSerializationContext ) ; DataSet dataSet = new DefaultDataSet ( dsi , data ) ; dataSets . add ( dataSet ) ; }
Adds a data set to IIM file .