Class JpaNamespaceTransformingEventReader

java.lang.Object
javax.xml.stream.util.EventReaderDelegate
org.hibernate.processor.util.xml.JpaNamespaceTransformingEventReader
All Implemented Interfaces:
Iterator<Object>, XMLEventReader

public class JpaNamespaceTransformingEventReader extends EventReaderDelegate
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.