Package org.hibernate.processor.util.xml
Class JpaNamespaceTransformingEventReader
java.lang.Object
javax.xml.stream.util.EventReaderDelegate
org.hibernate.processor.util.xml.JpaNamespaceTransformingEventReader
- All Implemented Interfaces:
Iterator<Object>
,XMLEventReader
Transforms the version attribute and namespace of the JPA configuration files (persistence.xml and orm.xml) to
the default. For the purpose of the metamodel it is enough to parse the xml against the latest specification version
and schema.
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
JpaNamespaceTransformingEventReader
-
-
Method Details
-
peek
- Specified by:
peek
in interfaceXMLEventReader
- Overrides:
peek
in classEventReaderDelegate
- Throws:
XMLStreamException
-
nextEvent
- Specified by:
nextEvent
in interfaceXMLEventReader
- Overrides:
nextEvent
in classEventReaderDelegate
- Throws:
XMLStreamException
-