public override void EndElement(String localName) { if (localName.Equals(Constants.APPLICATION_DESCRIPTOR_PROPERTY, StringComparison.OrdinalIgnoreCase)) { applicationDescriptor.AddProperty(propertyName, tempValue.ToString()); } else if (localName.Equals(Constants.APPLICATION_DESCRIPTOR_DATABASE_DESCRIPTOR, StringComparison.OrdinalIgnoreCase)) { applicationDescriptor.AddDatabaseDescriptorPath(tempValue.ToString()); } else if (localName.Equals(Constants.APPLICATION_DESCRIPTOR_EVENT_HANDLER, StringComparison.OrdinalIgnoreCase)) { if (tempValue == null || tempValue.Length <= 0) { return; } applicationDescriptor.AddEvent(tempValue.ToString()); } else if (localName.Equals(Constants.APPLICATION_DESCRIPTOR_LIBRARY_DESCRIPTOR, StringComparison.OrdinalIgnoreCase)) { if (tempValue == null || tempValue.Length <= 0) { return; } applicationDescriptor.AddLibraryDescriptorPath(tempValue.ToString()); } }
private void ProcessProperty() { if (isNotificationDescriptor) { notificationDescriptor.AddProperty(propertyName, tempValue.ToString()); } else { applicationDescriptor.AddProperty(propertyName, tempValue.ToString()); } }