public Class read(String target) throws Exception {
  Class type=readPrimitive(target);
  if (type == null) {
    ClassLoader loader=getClassLoader();
    if (loader == null) {
      loader=getCallerClassLoader();
    }
    return loader.loadClass(target);
  }
  return type;
}

public Class read ( String target ) throws Exception { Class type = readPrimitive ( target ) ; if ( type == null ) { ClassLoader loader = getClassLoader ( ) ; if ( loader == null ) { loader = getCallerClassLoader ( ) ; } return loader . loadClass ( target ) ; } return type ; }
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 .
