code: @Override
      public Module parse(final Element elem, final Locale locale) {
          final AppModule m = new AppModuleImpl();
          final Element control = elem.getChild("control", getContentNamespace());
          if (control != null) {
              final Element draftElem = control.getChild("draft", getContentNamespace());
              if (draftElem != null) {
                  if ("yes".equals(draftElem.getText())) {
                      m.setDraft(Boolean.TRUE);
                  }
                  if ("no".equals(draftElem.getText())) {
                      m.setDraft(Boolean.FALSE);
                  }
              }
          }
          final Element edited = elem.getChild("edited", getContentNamespace());
          if (edited != null) {
              try {
                  m.setEdited(DateParser.parseW3CDateTime(edited.getTextTrim(), locale));
              } catch (final Exception ignored) {
              }
          }
          return m;
      }
docs: Parse JDOM element into module