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 EventReaderDelegate
close, getElementText, getParent, getProperty, hasNext, next, nextTag, remove, setParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
JpaNamespaceTransformingEventReader
-
-
Method Details
-
peek
- Specified by:
peekin interfaceXMLEventReader- Overrides:
peekin classEventReaderDelegate- Throws:
XMLStreamException
-
nextEvent
- Specified by:
nextEventin interfaceXMLEventReader- Overrides:
nextEventin classEventReaderDelegate- Throws:
XMLStreamException
-