edu.northwestern.at.wordhoard.tools.fixers
Class ChaCan

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.fixers.Fixer
      extended by edu.northwestern.at.wordhoard.tools.fixers.ChaCan

public class ChaCan
extends Fixer

Adds extra div's for the Canterbury Tales.

We gather together the various parts of each tale into a group. For example, for the Miller's tale, we create a new div element that defines a part titled "The Miller" which contains "Miller's Prologue" and "Miller's Tale".

This fixer must be run AFTER the NukeDiv fixer.


Constructor Summary
ChaCan()
           
 
Method Summary
 void fix(java.lang.String corpusTag, java.lang.String workTag, org.w3c.dom.Document document)
          Fixes an XML DOM tree.
 
Methods inherited from class edu.northwestern.at.wordhoard.tools.fixers.Fixer
enableLogMessages, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChaCan

public ChaCan()
Method Detail

fix

public void fix(java.lang.String corpusTag,
                java.lang.String workTag,
                org.w3c.dom.Document document)
         throws java.lang.Exception
Fixes an XML DOM tree.

Specified by:
fix in class Fixer
Parameters:
corpusTag - Corpus tag.
workTag - Work tag.
document - XML DOM tree.
Throws:
java.lang.Exception