question: private String documentToString ( Document dom ) { StringBuffer buf = new StringBuffer ( ) ; linearize ( dom , buf ) ; return buf . toString ( ) ; }
target:  Converts the document to a string (a placeholder for more sophisticated logic to be done).