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

private Object read ( char [ ] list , int length ) throws Exception { Object array = Array . newInstance ( entry , length ) ; for ( int i = 0 ; i < length ; i ++ ) { Array . set ( array , i , list [ i ] ) ; } 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 .
