edu.northwestern.at.morphadorner

## Class XMLWriterState

- java.lang.Object
- - edu.northwestern.at.morphadorner.XMLWriterState

-     public class XMLWriterState
      extends java.lang.Object

  Saves XML writer state.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected boolean` | `isFirstWord` True if we're processing first word in a sentence.
    `protected SentenceMelderState` | `sentenceMelderState` XML sentence melder.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLWriterState(boolean isFirstWord, SentenceMelder sentenceMelder)` Create XMLWriterState object.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getIsFirstWord()` Get "is first word" flag.
    `SentenceMelderState` | `getSentenceMelderState()` Get sentence melder state.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### isFirstWord

          protected boolean isFirstWord

      True if we're processing first word in a sentence.

    - #### sentenceMelderState

          protected SentenceMelderState sentenceMelderState

      XML sentence melder.

  - ### Constructor Detail

    - #### XMLWriterState

          public XMLWriterState(boolean isFirstWord,
                        SentenceMelder sentenceMelder)

      Create XMLWriterState object.

  - ### Method Detail

    - #### getIsFirstWord

          public boolean getIsFirstWord()

      Get "is first word" flag.

    - #### getSentenceMelderState

          public SentenceMelderState getSentenceMelderState()

      Get sentence melder state.