Class EventReaderImpl

java.lang.Object
org.codehaus.stax2.ri.Stax2EventReaderImpl
com.fasterxml.aalto.evt.EventReaderImpl
All Implemented Interfaces:
Iterator<Object>, XMLEventReader, XMLStreamConstants, org.codehaus.stax2.XMLEventReader2

public final class EventReaderImpl extends org.codehaus.stax2.ri.Stax2EventReaderImpl
Simple implementation based on Stax2 reference implementation base.
  • Constructor Details

    • EventReaderImpl

      public EventReaderImpl(XMLEventAllocator a, org.codehaus.stax2.XMLStreamReader2 r)
  • Method Details

    • getErrorDesc

      protected String getErrorDesc(int errorType, int currEvent)
      Specified by:
      getErrorDesc in class org.codehaus.stax2.ri.Stax2EventReaderImpl
    • isPropertySupported

      public boolean isPropertySupported(String name)
      Specified by:
      isPropertySupported in interface org.codehaus.stax2.XMLEventReader2
      Specified by:
      isPropertySupported in class org.codehaus.stax2.ri.Stax2EventReaderImpl
    • setProperty

      public boolean setProperty(String name, Object value)
      Specified by:
      setProperty in interface org.codehaus.stax2.XMLEventReader2
      Specified by:
      setProperty in class org.codehaus.stax2.ri.Stax2EventReaderImpl
    • reportProblem

      protected void reportProblem(String msg, Location loc) throws XMLStreamException
      Overrides:
      reportProblem in class org.codehaus.stax2.ri.Stax2EventReaderImpl
      Throws:
      XMLStreamException