@Override public String toString(){
  String result;
  try {
    if (m_Document == null) {
      result="";
    }
 else {
      result=m_Document.getText(0,m_Document.getLength());
    }
  }
 catch (  Exception e) {
    result="";
  }
  return result.toString();
}

@ Override public String toString ( ) { String result ; try { if ( m_Document == null ) { result = "" ; } else { result = m_Document . getText ( 0 , m_Document . getLength ( ) ) ; } } catch ( Exception e ) { result = "" ; } return result . toString ( ) ; }
returns the content as string .
