public void detach() { if(m_allowRelease) {    int ident = m_xctxt.getDTMIdentity(m_dtm); DTM foundDTM = m_xctxt.getDTM(ident); if(foundDTM == m_dtm) { m_xctxt.release(m_dtm, true); m_dtm = null; m_xctxt = null; }
public void detach(){ if(m_allowRelease){ m_DTMXRTreeFrag.destruct();
  public void detach()  {    if(m_allowRelease)    {    	// %REVIEW% Do we actually _need_ detach, now that DTM RTF    	// storage is managed as a stack?      // See #destruct() for a comment about this next check.      int ident = m_xctxt.getDTMIdentity(m_dtm);      DTM foundDTM = m_xctxt.getDTM(ident);            if(foundDTM == m_dtm)      {        m_xctxt.release(m_dtm, true);        m_dtm = null;        m_xctxt = null;      }      m_obj = null;    }  }