net.sf.okapi.lib.xliff2.core

## Interface IWithExtElements

- All Known Implementing Classes:
    GlossEntry, Match, MidFileData, StartGroupData, Unit

      public interface IWithExtElements

  Provides a common interface to all objects that can have extension elements.
  See Also:
    `ExtElements`, `ExtElement`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ExtElements` | `getExtElements()` Gets the `ExtElements` object associated with this object.
    `boolean` | `hasExtElements()` Indicates if there is a `ExtElements` object associated with this object.
    `ExtElements` | `setExtElements(ExtElements elements)` Sets the `ExtElements` object associated with this object.

- - ### Method Detail

    - #### getExtElements

          ExtElements getExtElements()

      Gets the `ExtElements` object associated with this object. If none exists one is created.
      Returns:
        the `ExtElements` object associated with this object. If none exists one is created.

    - #### setExtElements

          ExtElements setExtElements(ExtElements elements)

      Sets the `ExtElements` object associated with this object.
      Parameters:
        `elements` - the `ExtElements` object associated with this object. If null, a new `ExtElements` object is created.
      Returns:
        the `ExtElements` object associated with this object, never null.

    - #### hasExtElements

          boolean hasExtElements()

      Indicates if there is a `ExtElements` object associated with this object.
      Returns:
        true if there is a `ExtElements` object associated with this object, false otherwise.