// We found a child element. Look up a deserializer for this
// activity and call it.
String localName = child.getLocalName();
String namespace = child.getNamespaceURI();
QName qname = new QName(namespace, localName);
BPELActivityDeserializer deserializer = extensionRegistry.getActivityDeserializer(qname);
if (deserializer != null) {
// Deserialize the DOM element and return the new Activity
Map nsMap = getAllNamespacesForElement((Element)child);
Activity activity = deserializer.unmarshall(qname,child,process,nsMap,extensionRegistry,resource.getURI(), this);
// Now let's do the standard attributes and elements
setStandardAttributes((Element)child, activity);
setStandardElements((Element)child, activity);
// Don't do extensibility because extensionActivity is not extensible.