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.
| Constructor and Description |
|---|
JpaNamespaceTransformingEventReader(XMLEventReader reader) |
| Modifier and Type | Method and Description |
|---|---|
XMLEvent |
nextEvent() |
XMLEvent |
peek() |
close, getElementText, getParent, getProperty, hasNext, next, nextTag, remove, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic JpaNamespaceTransformingEventReader(XMLEventReader reader)
public XMLEvent peek() throws XMLStreamException
peek in interface XMLEventReaderpeek in class EventReaderDelegateXMLStreamExceptionpublic XMLEvent nextEvent() throws XMLStreamException
nextEvent in interface XMLEventReadernextEvent in class EventReaderDelegateXMLStreamExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.