public class XLIFFFragmentRenderer extends 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,
Stack<NSContext> nsStack)
Creates a new
XLIFFFragmentRenderer object for a given fragment and namespace context. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<IFragmentObject> |
iterator() |
void |
set(Fragment fragment,
Stack<NSContext> nsStack)
Sets the fragment to iterate through and the namespace context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic XLIFFFragmentRenderer(Fragment fragment, 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, Stack<NSContext> nsStack)
IFragmentRendererset in interface IFragmentRendererfragment - the fragment to iterate through.nsStack - the namespace context (can be null).public Iterator<IFragmentObject> iterator()
iterator in interface Iterable<IFragmentObject>Copyright © 2020. All rights reserved.