public final String toString(String codeset){
  StringBuffer sb=new StringBuffer();
  if (doctype != null)   sb.append(doctype.toString(getCodeset()));
  sb.append(html.toString(getCodeset()));
  return (sb.toString());
}

public final String toString ( String codeset ) { StringBuffer sb = new StringBuffer ( ) ; if ( doctype != null ) sb . append ( doctype . toString ( getCodeset ( ) ) ) ; sb . append ( html . toString ( getCodeset ( ) ) ) ; return ( sb . toString ( ) ) ; }
override the tostring ( ) method so that it prints something meaningful .
