doc.startElement(null); saveFeatures(top); return null;
if (extendedMetaData == null || extendedMetaData.getDocumentRoot(eClass.getEPackage()) != eClass) { helper.populateNameInfo(nameInfo, eClass); currentNode = document.createElementNS(nameInfo.getNamespaceURI(), nameInfo.getQualifiedName()); document.appendChild(currentNode); saveElementID(top); return null; } else { saveFeatures(top); return null; }
  protected Object writeTopObject(EObject top)  {    EClass eClass = top.eClass();    if (extendedMetaData == null || extendedMetaData.getDocumentRoot(eClass.getEPackage()) != eClass)    {      String name = helper.getQName(eClass);      doc.startElement(name);      Object mark = doc.mark();      saveElementID(top);      return mark;    }    else    {      doc.startElement(null);      saveFeatures(top);      return null;    }  }