test_class.file: app-cleaner/src/test/java/com/kdgregory/pomutil/cleaner/TestOutputHandler.java
test_class.identifier: TestOutputHandler
test_case.body: @Test
      public void testPrettyPrint() throws Exception
      {
          CommandLine args = new CommandLine("--prettyPrint=3");
  
          String src = "<root>         <child>value</child> \n </root>";
          Document dom = ParseUtil.parse(src);
  
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          new OutputHandler(args).writeOutput(dom, out);
  
          assertEquals("<root>\n   <child>value</child>\n</root>", getOutput(out));
      }
test_case.class_method_signature: TestOutputHandler.testPrettyPrint()
test_case.full_signature: @Test public void testPrettyPrint()
test_case.identifier: testPrettyPrint
test_case.invocations: parse writeOutput assertEquals getOutput
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPrettyPrint()
focal_class.declarator: args
focal_class.modifier: private
focal_class.original_string: private CommandLine args;
focal_class.type: CommandLine
focal_class.var_name: args
focal_class.file: app-cleaner/src/main/java/com/kdgregory/pomutil/cleaner/OutputHandler.java
focal_class.identifier: OutputHandler
focal_class.class_method_signature: OutputHandler.OutputHandler(CommandLine args)
focal_class.full_signature: public  OutputHandler(CommandLine args)
focal_class.identifier: OutputHandler
focal_class.modifiers: public
focal_class.parameters: (CommandLine args)
focal_class.signature:  OutputHandler(CommandLine args)
focal_class.class_method_signature: OutputHandler.writeOutput(Document dom, File file)
focal_class.full_signature: public void writeOutput(Document dom, File file)
focal_class.identifier: writeOutput
focal_class.modifiers: public
focal_class.parameters: (Document dom, File file)
focal_class.return: void
focal_class.signature: void writeOutput(Document dom, File file)
focal_class.class_method_signature: OutputHandler.writeOutput(Document dom, OutputStream out0)
focal_class.full_signature: public void writeOutput(Document dom, OutputStream out0)
focal_class.identifier: writeOutput
focal_class.modifiers: public
focal_class.parameters: (Document dom, OutputStream out0)
focal_class.return: void
focal_class.signature: void writeOutput(Document dom, OutputStream out0)
focal_class.class_method_signature: OutputHandler.postProcess(Document dom)
focal_class.full_signature: private Document postProcess(Document dom)
focal_class.identifier: postProcess
focal_class.modifiers: private
focal_class.parameters: (Document dom)
focal_class.return: Document
focal_class.signature: Document postProcess(Document dom)
focal_class.class_method_signature: OutputHandler.writeOutput(Document dom, Writer out)
focal_class.full_signature: private void writeOutput(Document dom, Writer out)
focal_class.identifier: writeOutput
focal_class.modifiers: private
focal_class.parameters: (Document dom, Writer out)
focal_class.return: void
focal_class.signature: void writeOutput(Document dom, Writer out)
focal_method.body: public void writeOutput(Document dom, File file)
      throws IOException
      {
          FileOutputStream out = null;
          try
          {
              out = new FileOutputStream(file);
              writeOutput(dom, out);
          }
          finally
          {
              IOUtil.closeQuietly(out);
          }
      }
focal_method.class_method_signature: OutputHandler.writeOutput(Document dom, File file)
focal_method.full_signature: public void writeOutput(Document dom, File file)
focal_method.identifier: writeOutput
focal_method.invocations: writeOutput closeQuietly
focal_method.modifiers: public
focal_method.parameters: (Document dom, File file)
focal_method.return: void
focal_method.signature: void writeOutput(Document dom, File file)