|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.fixers.Fixer
public abstract class Fixer
XML fixer abstract base class.
Constructor Summary | |
---|---|
Fixer()
|
Method Summary | |
---|---|
void |
enableLogMessages(boolean enabled)
Enable or disable log messages. |
abstract void |
fix(java.lang.String corpusTag,
java.lang.String workTag,
org.w3c.dom.Document document)
Fixes an XML DOM tree. |
(package private) void |
log(java.lang.String name,
java.lang.String msg)
Logs a fixer message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fixer()
Method Detail |
---|
public abstract void fix(java.lang.String corpusTag, java.lang.String workTag, org.w3c.dom.Document document) throws java.lang.Exception
corpusTag
- Corpus tag.workTag
- Work tag.document
- XML DOM tree.
java.lang.Exception
void log(java.lang.String name, java.lang.String msg)
name
- Fixer name.msg
- Message. public void enableLogMessages(boolean enabled)
enabled
- True to enable log messages (the default),
false to disable them.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |