public void finish ( ) throws IOException { if ( ! this . finished ) { this . finished = true ; writeEnd ( ) ; } try { this . out . close ( ) ; } catch ( final XMLStreamException e ) { throw new IOException ( e ) ; } }
Complete the document but don t close the underlying writer