JBoss Metadata EJB 7.2.2.Final

org.jboss.metadata.ejb.parser.spec
Class RelationRoleMetaDataParser

java.lang.Object
  extended by org.jboss.metadata.parser.util.MetaDataElementParser
      extended by org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<MD>
          extended by org.jboss.metadata.ejb.parser.spec.AbstractWithDescriptionsParser<RelationRoleMetaData>
              extended by org.jboss.metadata.ejb.parser.spec.RelationRoleMetaDataParser
All Implemented Interfaces:
XMLStreamConstants

public class RelationRoleMetaDataParser
extends AbstractWithDescriptionsParser<RelationRoleMetaData>

Parses and creates metadata out of the <ejb-relation-role> element in the ejb-jar.xml

Author:
Stuart Douglas

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.metadata.parser.util.MetaDataElementParser
MetaDataElementParser.DTDInfo
 
Field Summary
static RelationRoleMetaDataParser INSTANCE
           
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Constructor Summary
RelationRoleMetaDataParser()
           
 
Method Summary
 RelationRoleMetaData parse(XMLStreamReader reader, PropertyReplacer propertyReplacer)
          Start parsing and generate the associated meta-data.
protected  void processElement(RelationRoleMetaData relation, XMLStreamReader reader, PropertyReplacer propertyReplacer)
          Process the single element.
 
Methods inherited from class org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser
processElements
 
Methods inherited from class org.jboss.metadata.parser.util.MetaDataElementParser
attributeHasNamespace, duplicateNamedElement, equals, getElementText, getElementText, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final RelationRoleMetaDataParser INSTANCE
Constructor Detail

RelationRoleMetaDataParser

public RelationRoleMetaDataParser()
Method Detail

parse

public RelationRoleMetaData parse(XMLStreamReader reader,
                                  PropertyReplacer propertyReplacer)
                           throws XMLStreamException
Description copied from class: AbstractMetaDataParser
Start parsing and generate the associated meta-data.

Specified by:
parse in class AbstractMetaDataParser<RelationRoleMetaData>
Returns:
the parsed meta-data
Throws:
XMLStreamException

processElement

protected void processElement(RelationRoleMetaData relation,
                              XMLStreamReader reader,
                              PropertyReplacer propertyReplacer)
                       throws XMLStreamException
Description copied from class: AbstractMetaDataParser
Process the single element. If it could not be processed, delegate to the super class.

Overrides:
processElement in class AbstractWithDescriptionsParser<RelationRoleMetaData>
Throws:
XMLStreamException

JBoss Metadata EJB 7.2.2.Final

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.