| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2.core |
Classes implementing the object model of a parsed XLIFF document.
|
| Modifier and Type | Field and Description |
|---|---|
protected TagType |
Tag.tagType |
| Modifier and Type | Method and Description |
|---|---|
TagType |
Tag.getTagType()
Gets the
TagType value of this tag. |
static TagType |
TagType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
TagType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CTag |
Fragment.append(TagType tagType,
String id,
String data,
boolean canOverlap)
Appends a code tag.
|
Tag |
Tags.get(String id,
TagType tagType)
Gets the tag for a given id and tag type.
|
Tag |
Store.getTag(String id,
TagType tagType)
Gets the tag for a given id and type (from the whole store).
|
CTag |
Fragment.insert(TagType tagType,
String type,
String id,
String data,
int offset,
boolean connect,
boolean allowOrphan)
Inserts a code at a given position (including the end) of this fragment.
|
| Constructor and Description |
|---|
CTag(TagType tagType,
String id,
String data)
Creates a new code tag (without any link to another tag).
|
Copyright © 2020. All rights reserved.