docs: public List<Boolean> checkExport(String href, final String id, final String key, final File tempDir) {
          //parsed export .xml to get exported elements
          final File exportFile = new File(tempDir, FILE_NAME_EXPORT_XML);
  
          boolean idExported = false;
          boolean keyrefExported = false;
          try {
              //load export.xml only once
              if (root == null) {
                  final DocumentBuilder builder = XMLUtils.getDocumentBuilder();
                  builder.setEntityResolver(CatalogUtils.getCatalogResolver());
                  root = builder.parse(new InputSource(new FileInputStream(exportFile)));
              }
              //get file node which contains the export node
              final Element fileNode = searchForKey(root.getDocumentElement(), href, "file");
              if (fileNode != null) {
                  //iterate the child nodes
                  final NodeList pList = fileNode.getChildNodes();
                  for (int j = 0; j < pList.getLength(); j++) {
                      final Node node = pList.item(j);
                      if (Node.ELEMENT_NODE == node.getNodeType()) {
                          final Element child = (Element)node;
                          //compare keys
                          if (child.getNodeName().equals("keyref")&&
                                  child.getAttribute(ATTRIBUTE_NAME_NAME)
                                  .equals(key)) {
                              keyrefExported = true;
                              //compare topic id
                          } else if (child.getNodeName().equals("topicid")&&
                                  child.getAttribute(ATTRIBUTE_NAME_NAME)
                                  .equals(id)) {
                              idExported = true;
                              //compare element id
                          } else if (child.getNodeName().equals("id")&&
                                  child.getAttribute(ATTRIBUTE_NAME_NAME)
                                  .equals(id)) {
                              idExported = true;
                          }
                      }
                      if (idExported && keyrefExported) {
                          break;
                      }
                  }
              }
          } catch (final RuntimeException e) {
              throw e;
          } catch (final Exception e) {
              e.printStackTrace();
          }
          final List<Boolean> list = new ArrayList<>();
          list.add(idExported);
          list.add(keyrefExported);
          return list;
      }