private Object read(String[] list,int length) throws Exception {
  Object array=Array.newInstance(entry,length);
  for (int i=0; i < length; i++) {
    Object item=delegate.read(list[i]);
    if (item != null) {
      Array.set(array,i,item);
    }
  }
  return array;
}

private Object read ( String [ ] list , int length ) throws Exception { Object array = Array . newInstance ( entry , length ) ; for ( int i = 0 ; i < length ; i ++ ) { Object item = delegate . read ( list [ i ] ) ; if ( item != null ) { Array . set ( array , i , item ) ; } } return array ; }
this method is used to convert the string value given to an appropriate representation . this is used when an object is being deserialized from the xml document and the value for the string representation is required .
