net.sf.okapi.lib.xliff2.renderer

## Interface IFragmentObject

- All Known Implementing Classes:
    XLIFFFragmentObject

      public interface IFragmentObject

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CTag` | `getCTag()` Gets the `CTag` of this object, if the object is of that type
    `MTag` | `getMTag()` Gets the `MTag` of this object, if the object is of that type
    `java.lang.Object` | `getObject()` Gets the original object.
    `java.lang.String` | `getText()` Gets the text of this object, if the object is a String.
    `java.lang.String` | `render()` Generates the output for a given format.

- - ### Method Detail

    - #### render

          java.lang.String render()

      Generates the output for a given format.
      Returns:
        the string representation of this inline object.

    - #### getText

          java.lang.String getText()

      Gets the text of this object, if the object is a String.
      Returns:
        the text.
      Throws:
        `java.lang.ClassCastException` - if the object is not a String.

    - #### getCTag

          CTag getCTag()

      Gets the `CTag` of this object, if the object is of that type
      Returns:
        the CTag of this object.
      Throws:
        `java.lang.ClassCastException` - if the object is not a CTag.

    - #### getMTag

          MTag getMTag()

      Gets the `MTag` of this object, if the object is of that type
      Returns:
        the MTag of this object.
      Throws:
        `java.lang.ClassCastException` - if the object is not a MTag.

    - #### getObject

          java.lang.Object getObject()

      Gets the original object.
      Returns:
        the original object.