code: protected static Map<String, Object> eventSendPicsInfo(XMLEventReader reader) throws XMLStreamException {
          Map<String, Object> sendPicsInfoMap = new HashMap<String, Object>();
          while (reader.hasNext()){
              XMLEvent event = reader.nextEvent();
              if (event.isStartElement()) {
                  String tagName = event.asStartElement().getName()
                          .toString();
                  if("Count".equals(tagName)){
                      sendPicsInfoMap.put(tagName, reader.getElementText());
                  }else if("PicList".equals(tagName)){
  //                    StringBuilder sb = new StringBuilder();
                      List<Map<String, String>> picList = CollectionUtil.newArrayList();
                      while(reader.hasNext()){
                          XMLEvent event1 = reader.nextEvent();
                          if(event1.isStartElement() && "PicMd5Sum".equals(event1.asStartElement().getName()
                                  .toString())){
                              Map<String, String> picMap = new HashMap<String, String>();
                              picMap.put("PicMd5Sum", reader.getElementText());
  //                            sb.append(reader.getElementText());
  //                            sb.append(",");
                              picList.add(picMap);
                          }else if(event1.isEndElement() && "PicList".equals(event1.asEndElement().getName().toString())){
                              break;
                          }
                      }
  //                    sendPicsInfoMap.put(tagName, sb.substring(0, sb.length()));
                      sendPicsInfoMap.put(tagName, picList);
                  }
              }
          }
  
          return sendPicsInfoMap;
      }
docs: Event为pic_sysphoto, pic_photo_or_album, pic_weixin时触发
  @param reader reader
  @return 读取结果
  @throws XMLStreamException XML解析异常