public String leaveDTD() throws IOException {
  if (_writer == _dtdWriter) {
    flushLine(false);
    _writer=_docWriter;
    return _dtdWriter.toString();
  }
  return null;
}

public String leaveDTD ( ) throws IOException { if ( _writer == _dtdWriter ) { flushLine ( false ) ; _writer = _docWriter ; return _dtdWriter . toString ( ) ; } return null ; }
called by the root element to leave dtd mode and if any dtd parts were printer , will return a string with their textual content .
