public String getXml ( ) { try { return ( ( ByteArrayOutputStream ) outputStream ) . toString ( StandardCharsets . UTF_8 . name ( ) ) ; } catch ( UnsupportedEncodingException e ) { return outputStream . toString ( ) ; } }
Get the generated XML .