| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2 |
Classes shared across the library.
|
| net.sf.okapi.lib.xliff2.core |
Classes implementing the object model of a parsed XLIFF document.
|
| net.sf.okapi.lib.xliff2.document |
Classes to hold in memory a complete parsed XLIFF document.
|
| net.sf.okapi.lib.xliff2.its |
Classes to read, write and manipulate ITS data categories.
|
| net.sf.okapi.lib.xliff2.reader |
Classes to read and validate an XLIFF document.
|
| net.sf.okapi.lib.xliff2.validation |
Classes to read, write and manipulate the elements and attributes of the
Validation module.
|
| net.sf.okapi.lib.xliff2.writer |
Classes to write a new XLIFF document or re-write an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.validateCopyOf(Unit unit)
Verifies the copyOf attributes in a given unit.
|
| Constructor and Description |
|---|
Unit(Unit original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitNode.get()
Gets the
Unit associated with this unit node. |
| Modifier and Type | Method and Description |
|---|---|
List<Unit> |
XLIFFDocument.getUnits()
Gets a list of all the units in this document.
|
| Constructor and Description |
|---|
UnitNode(Unit data)
|
| Modifier and Type | Method and Description |
|---|---|
String |
ITSWriter.outputStandOffElements(String indent,
String lb,
Unit unit)
Outputs any stand-off elements used in the markers for the given unit.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
Event.getUnit() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
URIContext.searchData(Unit unit,
String dataId)
Searches an original data object in a given unit.
|
static Object |
URIContext.searchInlineSource(Unit unit,
String id)
Searches a source inline code, segment or ignorable in a unit.
|
static Object |
URIContext.searchInlineTarget(Unit unit,
String id)
Searches a target inline code in a unit.
|
static Object |
URIContext.searchUnit(Unit unit,
AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
Searches recursively a
Unit object for a module or an extension object with a given id. |
| Modifier and Type | Method and Description |
|---|---|
List<Issue> |
Validation.processRules(Unit unit,
String fileId)
Applies the rules of this object on a given unit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XLIFFWriter.writeUnit(Unit unit)
Writes a
<unit> element. |
Copyright © 2020. All rights reserved.