private static String makeFieldValue(Object value){
  if (value == null)   return "(null)";
  Class<?> valueClass=value.getClass();
  try {
    valueClass.getConstructor(String.class);
  }
 catch (  NoSuchMethodException e) {
    final String msg="Class " + valueClass + " does not have a public "+ "constructor with a single string arg";
    final RuntimeException iae=new IllegalArgumentException(msg);
    throw new RuntimeOperationsException(iae,"Cannot make XML descriptor");
  }
catch (  SecurityException e) {
  }
  final String quotedValueString=quote(value.toString());
  return "(" + valueClass.getName() + "/"+ quotedValueString+ ")";
}

private static String makeFieldValue ( Object value ) { if ( value == null ) return "(null)" ; Class < ? > valueClass = value . getClass ( ) ; try { valueClass . getConstructor ( String . class ) ; } catch ( NoSuchMethodException e ) { final String msg = "Class " + valueClass + " does not have a public " + "constructor with a single string arg" ; final RuntimeException iae = new IllegalArgumentException ( msg ) ; throw new RuntimeOperationsException ( iae , "Cannot make XML descriptor" ) ; } catch ( SecurityException e ) { } final String quotedValueString = quote ( value . toString ( ) ) ; return "(" + valueClass . getName ( ) + "/" + quotedValueString + ")" ; }
make the string that will go inside " . . . " for a value that is not a plain string .
