convert a w3c document to a string . note : if you are working with a dom4j document , you can use it 's asxml method . concode_field_sep Log logger concode_field_sep void closeInputStream concode_elem_sep StringBuffer transformXml concode_elem_sep Document getDocFromStream concode_elem_sep Document getDocFromStream concode_elem_sep Document getDocFromString concode_elem_sep void saveDom concode_elem_sep void saveDom concode_elem_sep void saveDom concode_elem_sep Document getDocFromFile concode_elem_sep org.dom4j.Document convertToDom4JDoc concode_elem_sep String getXmlEncodedString concode_elem_sep String getNodeText concode_elem_sep long getNodeText concode_elem_sep double getNodeText concode_elem_sep String getNodeText
StringBuffer function ( final org . w3c . dom . Document arg0 ) { StringBuffer loc0 = null ; StringWriter loc1 = new StringWriter ( ) ; TransformerFactory loc2 = TransformerFactory . newInstance ( ) ; Transformer loc3 = loc2 . newTransformer ( ) ; Source loc4 = new DOMSource ( arg0 ) ; loc3 . transform ( loc4 , new StreamResult ( loc1 ) ) ; loc0 = loc1 . getBuffer ( ) ; return loc0 ; }