code: public XmlPullParser newPullParser() throws XmlPullParserException {
          final XmlPullParser pp = getParserInstance();
          for (Map.Entry<String, Boolean> entry : features.entrySet()) {
              // NOTE: This test is needed for compatibility reasons. We guarantee
              // that we only set a feature on a parser if its value is true.
              if (entry.getValue()) {
                  pp.setFeature(entry.getKey(), entry.getValue());
              }
          }
  
          return pp;
      }
docs: Creates a new instance of a XML Pull Parser
  using the currently configured factory features.
  
  @return A new instance of a XML Pull Parser.