public class PersistenceUnitXmlParser
extends org.jboss.metadata.parser.util.MetaDataElementParser
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
PersistenceUnitXmlParser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Simple test driver for parsing the specified persistence.xml file
|
static PersistenceUnitMetadataHolder |
parse(XMLStreamReader reader) |
attributeHasNamespace, duplicateNamedElement, equals, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue
public static PersistenceUnitMetadataHolder parse(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void main(String[] args)
args
- Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.