protected boolean isEmptyTag(String tagName){
  int i=0;
  boolean found=false;
  while ((i < EMPTY_TAGS.length) && (!found)) {
    if (tagName.equals(EMPTY_TAGS[i])) {
      found=true;
    }
    i++;
  }
  return found;
}

protected boolean isEmptyTag ( String tagName ) { int i = 0 ; boolean found = false ; while ( ( i < EMPTY_TAGS . length ) && ( ! found ) ) { if ( tagName . equals ( EMPTY_TAGS [ i ] ) ) { found = true ; } i ++ ; } return found ; }
checks whether the specified tag is an empty tag as defined in empty_tags
