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

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

public class ChaTag
extends Fixer

Fixes Chaucer tags.

Adds "tag" and "pathTag" attributes to the "div" elements for Chaucer works.

This fixer must be run AFTER the NukeDiv and ChaTitle fixers.


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

ChaTag

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