Class HbmEventReader
- java.lang.Object
-
- javax.xml.stream.util.EventReaderDelegate
-
- org.hibernate.boot.jaxb.internal.stax.HbmEventReader
-
- All Implemented Interfaces:
Iterator<Object>
,XMLEventReader
public class HbmEventReader extends EventReaderDelegate
A StAX EventReader forhbm.xml
files to add namespaces in documents not containing namespaces.
-
-
Constructor Summary
Constructors Constructor Description HbmEventReader(XMLEventReader reader)
HbmEventReader(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
-
HbmEventReader
public HbmEventReader(XMLEventReader reader)
-
HbmEventReader
public HbmEventReader(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
-
-