public class XLIFFFragmentRenderer extends java.lang.Object implements IFragmentRenderer
IFragmentRenderer for the XLIFF 2 format.
Note that the inline tags representation uses only <sc>/<ec>
and <sm>/<em>.
| Constructor and Description |
|---|
XLIFFFragmentRenderer(Fragment fragment,
java.util.Stack<NSContext> nsStack)
Creates a new
XLIFFFragmentRenderer object for a given fragment and namespace context. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<IFragmentObject> |
iterator() |
void |
set(Fragment fragment,
java.util.Stack<NSContext> nsStack)
Sets the fragment to iterate through and the namespace context.
|
public XLIFFFragmentRenderer(Fragment fragment, java.util.Stack<NSContext> nsStack)
XLIFFFragmentRenderer object for a given fragment and namespace context.fragment - the fragment to associate with this renderer.nsStack - the namespace stack (can be null).public void set(Fragment fragment, java.util.Stack<NSContext> nsStack)
IFragmentRendererset in interface IFragmentRendererfragment - the fragment to iterate through.nsStack - the namespace context (can be null).public java.util.Iterator<IFragmentObject> iterator()
iterator in interface java.lang.Iterable<IFragmentObject>