public final T end(int i){
  while (i-- > 0 && !tagStack.isEmpty()) {
    end();
  }
  return getSelf();
}

public final T end ( int i ) { while ( i -- > 0 && ! tagStack . isEmpty ( ) ) { end ( ) ; } return getSelf ( ) ; }
closes the inputed number of open tags .
