net.sf.okapi.lib.xliff2.renderer

## Interface IFragmentRenderer

- All Superinterfaces:
    java.lang.Iterable<IFragmentObject>
  All Known Implementing Classes:
    XLIFFFragmentRenderer

      public interface IFragmentRenderer
      extends java.lang.Iterable<IFragmentObject>

  Provides an iterable interface for the objects making up a fragment. Each object return by the iterator implements `IFragmentObject` providing both: access to the underlying object, and a string representation of that object.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `set(Fragment fragment, java.util.Stack<NSContext> nsStack)` Sets the fragment to iterate through and the namespace context.

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

      `iterator`

- - ### Method Detail

    - #### set

          void set(Fragment fragment,
                 java.util.Stack<NSContext> nsStack)

      Sets the fragment to iterate through and the namespace context.
      Parameters:
        `fragment` - the fragment to iterate through.
        `nsStack` - the namespace context (can be null).