code: public static CmsDirectEditMode valueOf(String value) {
  
          CmsDirectEditMode result = FALSE;
          if (CmsStringUtil.isNotEmpty(value)) {
              value = value.trim().toLowerCase();
              if (Boolean.valueOf(value).booleanValue()) {
                  result = TRUE;
              } else if (VALUE_AUTO.equals(value)) {
                  result = AUTO;
              } else if (VALUE_MANUAL.equals(value)) {
                  result = MANUAL;
              }
          }
          return result;
      }
docs: Returns the mode constant for the selected direct edit String mode description.<p>
  
  For a mode instance <code>A</code>, {@link #toString()} returns the String mode description.<p>
  
  @param value the direct edit String mode description to get the constant for
  
  @return the mode constant for the selected direct edit String mode description