edu.northwestern.at.morphadorner

## Interface MorphAdornerXMLWriter

- All Known Implementing Classes:
    DefaultMorphAdornerXMLWriter

      public interface MorphAdornerXMLWriter

  Interface for writing an adorned XML file with added ID fields.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `writeXML(java.lang.String inFile, java.lang.String outFile, int maxID, PartOfSpeechTags posTags, java.util.Map<java.lang.Integer,java.lang.Integer> splitWords, int totalWords, int totalPageBreaks, MorphAdorner adorner, boolean tokenizingOnly)` Write XML output.

- - ### Method Detail

    - #### writeXML

          void writeXML(java.lang.String inFile,
                      java.lang.String outFile,
                      int maxID,
                      PartOfSpeechTags posTags,
                      java.util.Map<java.lang.Integer,java.lang.Integer> splitWords,
                      int totalWords,
                      int totalPageBreaks,
                      MorphAdorner adorner,
                      boolean tokenizingOnly)
                        throws java.io.IOException,
                               org.xml.sax.SAXException

      Write XML output.
      Parameters:
        `inFile` - The XML input file.
        `outFile` - The XML output file.
        `maxID` - The maximum ID value in the input file.
        `posTags` - The part of speech tags.
        `splitWords` - The map of (word ID, # of word parts) for multipart words.
        `totalWords` - Total words.
        `totalPageBreaks` - Total page breaks.
        `adorner` - The adorner.
        `tokenizingOnly` - true if only performing tokenization.
      Throws:
        `IOException,` - SAXException
        `java.io.IOException`
        `org.xml.sax.SAXException`