|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.filters.Filter04
public class Filter04
Trims white space.
Trims leading and trailing white space.
Usage:
Filter04 in out
in = Path to TEI XML input file for a work.
out = Path to TEI XML output file for a work.
Leading and trailing white space is trimmed in all text elements which are not inside "l" elements or children of "p" elements.
For tagged lines ("l" elements), leading white space is timmed from initial punctuation, and trailing white space is trimmed from final punctuaton, and any resulting empty "punc" elements are eliminated.
For paragraphs ("p" elements), leading white space is trimmed from the first text child, and trailing white space is trimmed from the last text child.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- Command line arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |