question: private void closeStartIfNecessary ( ) throws IOException { if ( closeStart ) { writer . write ( ">" ) ; closeStart = false ; } }
target:  This method automatically closes a previous element (if not already closed).