// ****************************************************************************************************
 public static String descriptorToString(List fields) {
   String str = "Descriptor[";
   for (int i = 0; i < fields.size(); i++) {
     FieldInfo field = (FieldInfo) fields.get(i);
     str = str + field.getName() + "=" + field.getValue() + " ";
   }
   return str + "]";
 }
 // *******************************************************************************************
 private static void addFieldToInfo(String name, String value, FeatureInfo info) {
   FieldInfo field = new FieldInfo();
   field.setName(name);
   field.setValue(value);
   info.addField(field);
 }
 // *******************************************************************************************
 private static FieldInfo newField(String name, Object value) {
   FieldInfo info = new FieldInfo();
   info.setName(name);
   info.setValue(value);
   return info;
 }