Class JaxbCfgProcessor.NamespaceAddingEventReader
- java.lang.Object
-
- javax.xml.stream.util.EventReaderDelegate
-
- org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.NamespaceAddingEventReader
-
- All Implemented Interfaces:
Iterator<Object>
,XMLEventReader
- Enclosing class:
- JaxbCfgProcessor
public static class JaxbCfgProcessor.NamespaceAddingEventReader extends EventReaderDelegate
-
-
Constructor Summary
Constructors Constructor Description NamespaceAddingEventReader(XMLEventReader reader, String namespaceUri)
NamespaceAddingEventReader(XMLEventReader reader, XMLEventFactory xmlEventFactory, String namespaceUri)
-
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
-
NamespaceAddingEventReader
public NamespaceAddingEventReader(XMLEventReader reader, String namespaceUri)
-
NamespaceAddingEventReader
public NamespaceAddingEventReader(XMLEventReader reader, XMLEventFactory xmlEventFactory, String namespaceUri)
-
-
Method Detail
-
nextEvent
public XMLEvent nextEvent() throws XMLStreamException
- Specified by:
nextEvent
in interfaceXMLEventReader
- Overrides:
nextEvent
in classEventReaderDelegate
- Throws:
XMLStreamException
-
peek
public XMLEvent peek() throws XMLStreamException
- Specified by:
peek
in interfaceXMLEventReader
- Overrides:
peek
in classEventReaderDelegate
- Throws:
XMLStreamException
-
-