code: @Override
      public WireFeed parse(final Document document, final boolean validate, final Locale locale) throws IllegalArgumentException, FeedException {
          Opml opml;
          opml = (Opml) super.parse(document, validate, locale);
  
          final Element head = document.getRootElement().getChild("head");
  
          if (head != null) {
              opml.setOwnerId(head.getChildTextTrim("ownerId"));
              opml.setDocs(head.getChildTextTrim("docs"));
  
              if (opml.getDocs() == null) {
                  opml.setDocs("http://www.opml.org/spec2");
              }
          }
  
          opml.setFeedType("opml_2.0");
  
          return opml;
      }
docs: Parses an XML document (JDOM Document) into a feed bean.
  <p>
  
  @param document XML document (JDOM) to parse.
  @param validate indicates if the feed should be strictly validated (NOT YET IMPLEMENTED).
  @return the resulting feed bean.
  @throws IllegalArgumentException thrown if the parser cannot handle the given feed type.
  @throws FeedException thrown if a feed bean cannot be created out of the XML document (JDOM).