handler.recordEObject(currentNode.getLastChild(), null, o, f); if (DEBUG_DOM) { System.out.println("-->nil: " + currentNode.getLastChild().getNodeName() + "; container:" + o.eClass().getName()+ ";feature: " + f.getName()); }
saveNil(f); } else { declareXSI = true; helper.populateNameInfo(nameInfo, f); Element elem = document.createElementNS(nameInfo.getNamespaceURI(), nameInfo.getQualifiedName()); elem.setAttributeNS(ExtendedMetaData.XSI_URI, XSI_NIL, "true"); currentNode.appendChild(elem); handler.recordValues(currentNode.getLastChild(), o, f, null);
  protected void saveNil(EObject o, EStructuralFeature f)  {    saveNil(f);    if (toDOM)    {      handler.recordEObject(currentNode.getLastChild(), null, o, f);      if (DEBUG_DOM)      {        System.out.println("-->nil: " + currentNode.getLastChild().getNodeName() + "; container:" + o.eClass().getName()+ ";feature: " + f.getName());      }    }  }