| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2.core |
Classes implementing the object model of a parsed XLIFF document.
|
| net.sf.okapi.lib.xliff2.its |
Classes to read, write and manipulate ITS data categories.
|
| net.sf.okapi.lib.xliff2.renderer |
| Modifier and Type | Method and Description |
|---|---|
MTag |
Fragment.closeMarkerSpan(String id)
Appends a tag to close the marker of a given id.
|
MTag |
AnnotatedSpan.getMarker()
Gets the
MTag object associated with this span. |
MTag |
Tags.getMTag(CharSequence ctext,
int pos)
Gets the
MTag for a given reference in a coded text. |
MTag |
Fragment.getMTag(CharSequence ctext,
int pos)
Gets the
MTag for a given reference in a coded text. |
MTag |
Tags.getMTag(int key)
Gets the
MTag for a given key. |
MTag |
Tags.getOpeningMTag(String id)
Gets the opening
MTag for a given id. |
MTag |
Fragment.getOrCreateMarker(int start,
int end,
String matchingType,
String typeForNew)
Get or create an annotation marker for a given span of content.
|
MTag |
Fragment.openMarkerSpan(String id,
String type)
Appends a tag opening a new marker span.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Fragment.annotate(int start,
int end,
MTag opening)
Annotates a span of content in this fragment.
|
| Constructor and Description |
|---|
AnnotatedSpan(MTag marker,
Part startPart,
int start)
Creates a new
AnnotatedSpan object. |
MTag(MTag opposite)
Creates a new opening or closing tag for a marker.
|
MTag(MTag original,
MTag opposite)
Copy constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TermTag
Implements the XLIFF term annotation and the ITS
Terminology data category.
|
| Modifier and Type | Method and Description |
|---|---|
static MTag |
ITSWriter.annotate(Fragment fragment,
int start,
int end,
IITSItem item,
String matchingType)
Tries to reuse an existing annotation to add an ITS item.
|
| Constructor and Description |
|---|
TermTag(MTag tag,
String type,
AnnotatorsRef ar)
Creates a new opening
TermTag object from an existing marker tag. |
| Modifier and Type | Method and Description |
|---|---|
MTag |
IFragmentObject.getMTag()
Gets the
MTag of this object, if the object is of that type |
MTag |
XLIFFFragmentObject.getMTag() |
Copyright © 2020. All rights reserved.