code: public T parseFeed() throws IOException, XmlPullParserException {
      boolean close = true;
      try {
        this.feedParsed = true;
        T result = Types.newInstance(feedClass);
        Xml.parseElement(parser, result, namespaceDictionary, Atom.StopAtAtomEntry.INSTANCE);
        close = false;
        return result;
      } finally {
        if (close) {
          close();
        }
      }
    }
docs: Parse the feed and return a new parsed instance of the feed type. This method can be skipped if
  all you want are the items.
  
  @throws IOException I/O exception
  @throws XmlPullParserException XML pull parser exception