public class CmrFieldMetaDataParser extends AbstractWithDescriptionsParser<CMRFieldMetaData>
MetaDataElementParser.DTDInfo
Modifier and Type | Field and Description |
---|---|
static CmrFieldMetaDataParser |
INSTANCE
Instance of this parser
|
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 |
---|
CmrFieldMetaDataParser() |
Modifier and Type | Method and Description |
---|---|
CMRFieldMetaData |
parse(XMLStreamReader reader)
Start parsing and generate the associated meta-data.
|
protected void |
processElement(CMRFieldMetaData metaData,
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 CmrFieldMetaDataParser INSTANCE
public CMRFieldMetaData parse(XMLStreamReader reader) throws XMLStreamException
AbstractMetaDataParser
parse
in class AbstractMetaDataParser<CMRFieldMetaData>
XMLStreamException
protected void processElement(CMRFieldMetaData metaData, XMLStreamReader reader) throws XMLStreamException
AbstractMetaDataParser
processElement
in class AbstractWithDescriptionsParser<CMRFieldMetaData>
XMLStreamException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.