net.sf.okapi.common.annotation

## Class XLIFFNoteAnnotation

- java.lang.Object
- - net.sf.okapi.common.annotation.XLIFFNoteAnnotation

- All Implemented Interfaces:
    java.lang.Iterable<XLIFFNote>, IAnnotation

      public class XLIFFNoteAnnotation
      extends java.lang.Object
      implements IAnnotation, java.lang.Iterable<XLIFFNote>

  Annotation used to expose xliff 1.2 note element

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XLIFFNoteAnnotation()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(XLIFFNote note)` Add a XLIFFNote to the annotation.
    `XLIFFNote` | `getNote(int index)`
    `java.util.Iterator<XLIFFNote>` | `iterator()`

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

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

    - ### Methods inherited from interface net.sf.okapi.common.annotation.IAnnotation

      `toString`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### XLIFFNoteAnnotation

          public XLIFFNoteAnnotation()

  - ### Method Detail

    - #### add

          public void add(XLIFFNote note)

      Add a XLIFFNote to the annotation.
      Parameters:
        `note` - - XLIFFNote from the xliff document.

    - #### getNote

          public XLIFFNote getNote(int index)

    - #### iterator

          public java.util.Iterator<XLIFFNote> iterator()

      Specified by:
        `iterator` in interface `java.lang.Iterable<XLIFFNote>`