// Only add the adapter if this is an child node that will not be
// adapted. For instance a subtree that maps to a MOF attribute
// setting.
if (childNode.getNodeType() == Node.ELEMENT_NODE) {
EMF2DOMAdapter attrAdapter = primGetExistingAdapter(childNode);
if (attrAdapter == null || attrAdapter.getNode() != getNode()) {
// If the node is adapted, but not by this adapter then remove
// it. This happens to non-object children when the parent tag
// name is changed.
removeDOMAdapter(childNode, attrAdapter);