org.jboss.metadata.ejb.parser.spec
Class SecurityIdentityParser
java.lang.Object
org.jboss.metadata.parser.util.MetaDataElementParser
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractWithDescriptionsParser<SecurityIdentityMetaData>
org.jboss.metadata.ejb.parser.spec.SecurityIdentityParser
- All Implemented Interfaces:
- XMLStreamConstants
public class SecurityIdentityParser
- extends AbstractWithDescriptionsParser<SecurityIdentityMetaData>
Parses the <security-identity> element in a ejb-jar.xml
User: Jaikiran Pai
| 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 SecurityIdentityParser INSTANCE
SecurityIdentityParser
public SecurityIdentityParser()
parse
public SecurityIdentityMetaData 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<SecurityIdentityMetaData>
- Returns:
- the parsed meta-data
- Throws:
XMLStreamException
processElement
protected void processElement(SecurityIdentityMetaData metaData,
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<SecurityIdentityMetaData>
- Throws:
XMLStreamException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.