org.jboss.metadata.ejb.parser.spec
Class ApplicationExceptionMetaDataParser
java.lang.Object
org.jboss.metadata.parser.util.MetaDataElementParser
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractIdMetaDataParser<ApplicationExceptionMetaData>
org.jboss.metadata.ejb.parser.spec.ApplicationExceptionMetaDataParser
- All Implemented Interfaces:
- XMLStreamConstants
public class ApplicationExceptionMetaDataParser
- extends AbstractIdMetaDataParser<ApplicationExceptionMetaData>
- Author:
- Carlo de Wolf
| 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 |
| 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 |
INSTANCE
public static final ApplicationExceptionMetaDataParser INSTANCE
ApplicationExceptionMetaDataParser
public ApplicationExceptionMetaDataParser()
parse
public ApplicationExceptionMetaData parse(XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Parses and creates InterceptorsMetaData out of the interceptors element
- Specified by:
parse in class AbstractMetaDataParser<ApplicationExceptionMetaData>
- Parameters:
reader -
- Returns:
-
- Throws:
XMLStreamException
processElement
protected void processElement(ApplicationExceptionMetaData applicationExceptionMetaData,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Parses the child elements of the <application-exception> element and updates the passed
ApplicationExceptionMetaData accordingly.
- Overrides:
processElement in class AbstractMetaDataParser<ApplicationExceptionMetaData>
- Parameters:
applicationExceptionMetaData - reader -
- Throws:
XMLStreamException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.