// Path: src/main/java/immanix/EventReader.java
// public interface EventReader {
// 
//     boolean hasNext();
// 
//     XMLEvent next() throws XMLStreamException;
// 
//     EventReader unwrap();
// 
// }


import immanix.EventReader;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.XMLEvent;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
package immanix.readers;



@SuppressWarnings("restriction")
public class ReplayEventReader implements EventReader {

    private Iterator<? extends XMLEvent> events;

// Path: src/main/java/immanix/EventReader.java
// public interface EventReader {
// 
//     boolean hasNext();
// 
//     XMLEvent next() throws XMLStreamException;
// 
//     EventReader unwrap();
// 
// }


// Path: src/main/java/immanix/readers/ReplayEventReader.java
import immanix.EventReader;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.XMLEvent;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

package immanix.readers;



@SuppressWarnings("restriction")
public class ReplayEventReader implements EventReader {

    private Iterator<? extends XMLEvent> events;

    public ReplayEventReader(List<? extends XMLEvent> events) {