use of com.ximpleware.XMLByteOutputStream in project translationstudio8 by heartsome.
the class AbstractDrawing method save.
protected void save() {
try {
XMLByteOutputStream xbos = new XMLByteOutputStream(xm.getUpdatedDocumentSize());
xm.output(xbos);
this.xmlContent = new String(xbos.getXML());
xbos.close();
// System.out.println(this.xmlContent);
} catch (VTDException e) {
logger.error("", e);
} catch (IOException e) {
logger.error("", e);
}
}
Aggregations