Class MappingEventReader
- java.lang.Object
-
- javax.xml.stream.util.EventReaderDelegate
-
- org.hibernate.boot.jaxb.internal.stax.MappingEventReader
-
- All Implemented Interfaces:
Iterator<Object>
,XMLEventReader
public class MappingEventReader extends EventReaderDelegate
StAX EVentReader for reading `mapping.xml` streams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MappingEventReader.BadVersionException
-
Constructor Summary
Constructors Constructor Description MappingEventReader(XMLEventReader reader, XMLEventFactory xmlEventFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLEvent
nextEvent()
XMLEvent
peek()
-
Methods inherited from class javax.xml.stream.util.EventReaderDelegate
close, getElementText, getParent, getProperty, hasNext, next, nextTag, remove, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
MappingEventReader
public MappingEventReader(XMLEventReader reader, XMLEventFactory xmlEventFactory)
-
-
Method Detail
-
peek
public XMLEvent peek() throws XMLStreamException
- Specified by:
peek
in interfaceXMLEventReader
- Overrides:
peek
in classEventReaderDelegate
- Throws:
XMLStreamException
-
nextEvent
public XMLEvent nextEvent() throws XMLStreamException
- Specified by:
nextEvent
in interfaceXMLEventReader
- Overrides:
nextEvent
in classEventReaderDelegate
- Throws:
XMLStreamException
-
-