src/main/java/org/jboss/util/xml/DOMWriter.java
/** 
    * Print a node with explicit prettyprinting.
    * The defaults for all other DOMWriter properties apply. 
    *  
    */
Print a node with explicit prettyprinting.
The defaults for all other DOMWriter properties apply.
Print a node with explicit prettyprinting . The defaults for all other DOMWriter properties apply .
public static String printNode(Node node, boolean prettyprint)
   {
      StringWriter strw = new StringWriter();
      new DOMWriter(strw).setPrettyprint(prettyprint).print(node);
      return strw.toString();
   }
public static String printNode ( Node node , boolean prettyprint ) { StringWriter strw = new StringWriter ( ) ; new DOMWriter ( strw ) . setPrettyprint ( prettyprint ) . print ( node ) ; return strw . toString ( ) ; }
Print a node with explicit prettyprinting.
Print a node with explicit prettyprinting .