public class RelationRoleCmrFieldMetaDataParser extends AbstractWithDescriptionsParser<CMRFieldMetaData>
MetaDataElementParser.DTDInfo
Modifier and Type | Field and Description |
---|---|
static RelationRoleCmrFieldMetaDataParser |
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 |
---|
RelationRoleCmrFieldMetaDataParser() |
Modifier and Type | Method and Description |
---|---|
CMRFieldMetaData |
parse(XMLStreamReader reader)
Creates and returns
CMRFieldMetaData after parsing the cmr-field element. |
protected void |
processElement(CMRFieldMetaData field,
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 RelationRoleCmrFieldMetaDataParser INSTANCE
public CMRFieldMetaData parse(XMLStreamReader reader) throws XMLStreamException
CMRFieldMetaData
after parsing the cmr-field element.parse
in class AbstractMetaDataParser<CMRFieldMetaData>
reader
- XMLStreamException
protected void processElement(CMRFieldMetaData field, XMLStreamReader reader) throws XMLStreamException
AbstractMetaDataParser
processElement
in class AbstractWithDescriptionsParser<CMRFieldMetaData>
XMLStreamException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.