edu.northwestern.at.wordhoard.tools
Class PrettyPrint

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.PrettyPrint

public class PrettyPrint
extends java.lang.Object

Pretty-prints a work XML document file.

Usage:

PrettyPrint in out

in = Path to XML input file for a work.

out = Path to pretty-printed XML output file for the work.


Method Summary
static void main(java.lang.String[] args)
          The main program.
static void prettyPrint(org.w3c.dom.Document document, java.io.File file, TaggingDataProvider provider)
          Pretty prints a work XML document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

prettyPrint

public static void prettyPrint(org.w3c.dom.Document document,
                               java.io.File file,
                               TaggingDataProvider provider)
                        throws java.lang.Exception
Pretty prints a work XML document.

Parameters:
document - Work XML document.
file - Output file.
provider - Tagging data provider, or null if none.
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
The main program.

Parameters:
args - Command line arguments.