ConfigurationElement currentConfigurationElement = registry.getElementFactory().createConfigurationElement(namespace.isDynamic());
ConfigurationElement currentConfigurationElement = registry.getElementFactory().createConfigurationElement(namespace.shouldPersist());
	private void handleExtensionState(String elementName, Attributes attributes) {		// You need to change the state here even though we will be executing the same		// code for ExtensionState and ConfigurationElementState.  We ignore the name		// of the element for ConfigurationElements.  When we are wrapping up, we will		// want to add each configuration element object to the subElements vector of		// its parent configuration element object.  However, the first configuration		// element object we created (the last one we pop off the stack) will need to		// be added to a vector in the extension object called _configuration.		stateStack.push(new Integer(CONFIGURATION_ELEMENT_STATE));		configurationElementValue = null;		// create a new Configuration Element and push it onto the object stack		ConfigurationElement currentConfigurationElement = registry.getElementFactory().createConfigurationElement(namespace.isDynamic());		currentConfigurationElement.setNamespaceOwnerId(namespace.getNamespaceOwnerId());		objectStack.push(currentConfigurationElement);		currentConfigurationElement.setName(elementName);		// Processing the attributes of a configuration element involves creating		// a new configuration property for each attribute and populating the configuration		// property with the name/value pair of the attribute.  Note there will be one		// configuration property for each attribute		parseConfigurationElementAttributes(attributes);		objectManager.add(currentConfigurationElement, true);	}