public class RelationMetaDataParser extends AbstractMetaDataParser<RelationMetaData>
MetaDataElementParser.DTDInfo
Modifier and Type | Field and Description |
---|---|
static RelationMetaDataParser |
INSTANCE |
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 |
---|
RelationMetaDataParser() |
Modifier and Type | Method and Description |
---|---|
RelationMetaData |
parse(XMLStreamReader reader)
Creates and returns
EntityBeanMetaData after parsing the entity element. |
protected void |
processElement(RelationMetaData relation,
XMLStreamReader reader)
Process the single element.
|
processElements
attributeHasNamespace, duplicateNamedElement, equals, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue
public static final RelationMetaDataParser INSTANCE
public RelationMetaData parse(XMLStreamReader reader) throws XMLStreamException
EntityBeanMetaData
after parsing the entity element.parse
in class AbstractMetaDataParser<RelationMetaData>
reader
- XMLStreamException
protected void processElement(RelationMetaData relation, XMLStreamReader reader) throws XMLStreamException
AbstractMetaDataParser
processElement
in class AbstractMetaDataParser<RelationMetaData>
XMLStreamException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.