JBoss Metadata EJB 7.2.2.Final

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

java.lang.Object
  extended by org.jboss.metadata.parser.util.MetaDataElementParser
      extended by org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<AroundInvokeMetaData>
          extended by org.jboss.metadata.ejb.parser.spec.AroundInvokeMetaDataParser
All Implemented Interfaces:
XMLStreamConstants

public class AroundInvokeMetaDataParser
extends AbstractMetaDataParser<AroundInvokeMetaData>

Parses and creates metadata out of <around-invoke> element in ejb-jar.xml

Author: Jaikiran Pai


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.metadata.parser.util.MetaDataElementParser
MetaDataElementParser.DTDInfo
 
Field Summary
static AroundInvokeMetaDataParser 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
AroundInvokeMetaDataParser()
           
 
Method Summary
 AroundInvokeMetaData parse(XMLStreamReader reader, PropertyReplacer propertyReplacer)
          Parses and creates AroundInvokeMetaData out of the around-invoke element
protected  void processElement(AroundInvokeMetaData aroundInvoke, XMLStreamReader reader, PropertyReplacer propertyReplacer)
          Parses the child elements in the around-invoke element and updates the passed AroundInvokeMetaData accordingly.
 
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 AroundInvokeMetaDataParser INSTANCE
Constructor Detail

AroundInvokeMetaDataParser

public AroundInvokeMetaDataParser()
Method Detail

parse

public AroundInvokeMetaData parse(XMLStreamReader reader,
                                  PropertyReplacer propertyReplacer)
                           throws XMLStreamException
Parses and creates AroundInvokeMetaData out of the around-invoke element

Specified by:
parse in class AbstractMetaDataParser<AroundInvokeMetaData>
Parameters:
reader -
Returns:
Throws:
XMLStreamException

processElement

protected void processElement(AroundInvokeMetaData aroundInvoke,
                              XMLStreamReader reader,
                              PropertyReplacer propertyReplacer)
                       throws XMLStreamException
Parses the child elements in the around-invoke element and updates the passed AroundInvokeMetaData accordingly.

Overrides:
processElement in class AbstractMetaDataParser<AroundInvokeMetaData>
Parameters:
aroundInvoke -
reader -
Throws:
XMLStreamException

JBoss Metadata EJB 7.2.2.Final

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