/** * Closes the output and this XML document. */ public void endOutput() { endObject(); if (opensCalled-- == 1) { super.endResult(); try { hd.endDocument(); out.close(); } catch (SAXException | IOException e) { throw Exceptions.handle(e); } } }
/** * Closes the output and this XML document. */ public void endOutput() { endObject(); if (opensCalled-- == 1) { super.endResult(); try { hd.endDocument(); out.close(); } catch (SAXException | IOException e) { throw Exceptions.handle(e); } } }