code: public static synchronized XMLEventReader createListReader(final List<XMLEvent> paramEvents)
          throws IOException, XMLStreamException {
          checkNotNull(paramEvents);
          return new ListEventReader(paramEvents);
      }
docs: Create a new StAX reader based on a List of {@link XMLEvent}s.
  
  @param paramEvents
  {@link XMLEvent}s
  @return an {@link XMLEventReader}
  @throws IOException
  if I/O operation fails
  @throws XMLStreamException
  if any parsing error occurs