entitiesDescriptorType.addEntityDescriptor(entityParser.parse(xmlEventReader)); } else if (JBossSAMLConstants.EXTENSIONS.get().equalsIgnoreCase(localPart)) { entitiesDescriptorType.setExtensions(parseExtensions(xmlEventReader)); } else if (JBossSAMLConstants.ENTITIES_DESCRIPTOR.get().equalsIgnoreCase(localPart)) { SAMLEntitiesDescriptorParser parser = new SAMLEntitiesDescriptorParser();
entitiesDescriptorType.setExtensions(parseExtensions(xmlEventReader));
entitiesDescriptorType.setExtensions(parseExtensions(xmlEventReader));
entitiesDescriptorType.addEntityDescriptor(entityParser.parse(xmlEventReader)); } else if (JBossSAMLConstants.EXTENSIONS.get().equalsIgnoreCase(localPart)) { entitiesDescriptorType.setExtensions(parseExtensions(xmlEventReader)); } else if (JBossSAMLConstants.ENTITIES_DESCRIPTOR.get().equalsIgnoreCase(localPart)) { SAMLEntitiesDescriptorParser parser = new SAMLEntitiesDescriptorParser();
entitiesDescriptorType.addEntityDescriptor(entityParser.parse(xmlEventReader)); } else if (JBossSAMLConstants.EXTENSIONS.get().equalsIgnoreCase(localPart)) { entitiesDescriptorType.setExtensions(parseExtensions(xmlEventReader)); } else if (JBossSAMLConstants.ENTITIES_DESCRIPTOR.get().equalsIgnoreCase(localPart)) { SAMLEntitiesDescriptorParser parser = new SAMLEntitiesDescriptorParser();