public void addEmptyElement(String tag) throws IOException {
  if (!charsAddedBetweenTags_) {
    writer_.write("\r\n");
  }
  charsAddedBetweenTags_=false;
  writer_.write("<" + tag + "/>\r\n");
}

public void addEmptyElement ( String tag ) throws IOException { if ( ! charsAddedBetweenTags_ ) { writer_ . write ( "\r\n" ) ; } charsAddedBetweenTags_ = false ; writer_ . write ( "<" + tag + "/>\r\n" ) ; }
adds an empty start element tag .
