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

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

public class CastList
extends Fixer

Fixes cast list elements.

There are so many problems with cast lists that the only real solution is to go through all of them by hand and fix the source to generate reasonable Dramatis Personae pages.

We do what we can here to clean up the most egregious messes.


Constructor Summary
CastList()
           
 
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

CastList

public CastList()
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