private void write(String plain,String prefix) throws Exception {
  buffer.write(result);
  buffer.clear();
  if (!isEmpty(prefix)) {
    result.write(prefix);
    result.write(':');
  }
  result.write(plain);
}

private void write ( String plain , String prefix ) throws Exception { buffer . write ( result ) ; buffer . clear ( ) ; if ( ! isEmpty ( prefix ) ) { result . write ( prefix ) ; result . write ( ':' ) ; } result . write ( plain ) ; }
this is used to write plain text to the output stream without any translation . this is used when writing the start tags and end tags , this is also used to write attribute names .
