question: protected static Node deserializeString ( String doc ) { try { StringReader reader = new StringReader ( doc ) ; StreamSource source = new StreamSource ( reader ) ; DOMResult result = new DOMResult ( ) ; TransformerFactory tf = TransformerFactory . newInstance ( ) ; Transformer transformer = tf . newTransformer ( ) ; transformer . setOutputProperty ( OutputKeys . ENCODING , DEFAULT_ENCODING ) ; transformer . setOutputProperty ( OutputKeys . INDENT , DEFAULT_INDENT ) ; transformer . transform ( source , result ) ; return result . getNode ( ) ; } catch ( Throwable e ) { log . log ( Level . SEVERE , "Failed to serialize node" , e ) ; } return null ; }
target:  This method deserializes the supplied document.