| Package | Description |
|---|---|
| net.sf.okapi.common |
Classes commonly used across the whole Okapi Framework.
|
| net.sf.okapi.common.annotation |
Classes to implement and manage annotations.
|
| net.sf.okapi.common.resource |
Interfaces and classes that represent the parsed resources attached to the
events sent by a filter.
|
| net.sf.okapi.common.skeleton |
Interfaces and classes for the skeleton objects.
|
| net.sf.okapi.filters.markdown | |
| net.sf.okapi.filters.rainbowkit | |
| net.sf.okapi.filters.transifex | |
| net.sf.okapi.filters.txml | |
| net.sf.okapi.filters.xliff2.model | |
| net.sf.okapi.lib.verification | |
| net.sf.okapi.steps.diffleverage | |
| net.sf.okapi.steps.repetitionanalysis | |
| net.sf.okapi.steps.scopingreport | |
| net.sf.okapi.steps.tokenization | |
| net.sf.okapi.steps.wordcount.common |
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
IContext.getAnnotation(Class<A> type)
Gets the annotation of a given type for this context.
|
<A extends IAnnotation> |
BaseContext.getAnnotation(Class<A> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
IContext.setAnnotation(IAnnotation annotation)
Sets an annotation for this context.
|
void |
BaseContext.setAnnotation(IAnnotation annotation) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IPersistentAnnotation
An
IAnnotation that can be serialized. |
| Modifier and Type | Class and Description |
|---|---|
class |
AltTranslationsAnnotation
Annotation for storing one or more alternate translations for a target content.
|
class |
DeepenSegmentationAnnotaton |
class |
GenericAnnotation
Generic annotation allowing access with field names and multiple instance on the same object.
|
class |
GenericAnnotations
Provides access to a list of
GenericAnnotation. |
class |
GlossaryAnnotation
Wrapper class for XLIFF glossary element
|
class |
IssueAnnotation |
class |
ITSLQIAnnotations
Annotation for ITS Language Quality Issue meta-data.
|
class |
ITSProvenanceAnnotations
Annotation for ITS Provenance meta-data.
|
class |
NoteAnnotation
Annotation used to expose xliff 1.2 like notes
|
class |
SkipCheckAnnotation
Annotation indicating that the quality checks (on both source and target) should be skipped if this annotation is attached to the source segment.
|
class |
TermsAnnotation
Simple annotation for storing terms and their associated information.
|
class |
XLIFFContextGroup
Represents the annotation of the XLIFF 1.2 context-group element.
|
class |
XLIFFPhaseAnnotation
Annotation used to expose the %lt;phase-group> element containing the multiple
phases in a %lt;file> element when attached to a StartSubDocument event or
resolve the phase-name reference otherwise.
|
class |
XLIFFToolAnnotation
Annotation containing the set of %lt;tool> elements in an XLIFF %lt;file>%lt;header>.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
Annotations.get(Class<A> annotationType)
Gets the annotation for a given type.
|
<A extends IAnnotation> |
Annotations.remove(Class<A> annotationType)
Removes the annotation of a given type.
|
<T extends IAnnotation> |
Annotations.set(T annotation)
Sets an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends IAnnotation>> |
Annotations.getAnnotationsTypes() |
Iterator<IAnnotation> |
Annotations.iterator() |
| Modifier and Type | Class and Description |
|---|---|
class |
InlineAnnotation
Base implementation of an annotation that can be used on inline codes.
|
class |
TargetPropertiesAnnotation
The target properties associated to a set of source properties
in a resource.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
TextContainer.getAnnotation(Class<A> type) |
<A extends IAnnotation> |
RawDocument.getAnnotation(Class<A> annotationType) |
<A extends IAnnotation> |
PipelineParameters.getAnnotation(Class<A> annotationType) |
<A extends IAnnotation> |
MultiEvent.getAnnotation(Class<A> annotationType) |
default <A extends IAnnotation> |
IWithAnnotations.getAnnotation(Class<A> annotationType)
Gets the annotation object for a given class for this resource.
|
static <A extends IAnnotation> |
TextUnitUtil.getSourceAnnotation(ITextUnit textUnit,
Class<A> type)
Gets an annotation attached to the source part of a given text unit resource.
|
static <A extends IAnnotation> |
TextUnitUtil.getTargetAnnotation(ITextUnit textUnit,
LocaleId locId,
Class<A> type)
Gets an annotation attached to the target part of a given text unit resource in a given locale.
|
default <A extends IAnnotation> |
IWithAnnotations.hasAnnotation(Class<A> annotationType)
Does this resource have any annotations?
|
default <A extends IAnnotation> |
IWithAnnotations.remove(Class<A> annotationType)
Remove the designated
IAnnotation |
| Modifier and Type | Method and Description |
|---|---|
default Iterator<IAnnotation> |
IWithAnnotations.annotationIterator()
Gets an iterator of the annotations for this resource.
|
default Set<Class<? extends IAnnotation>> |
IWithAnnotations.getAnnotationsTypesAsSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextContainer.setAnnotation(IAnnotation annotation) |
default void |
IWithAnnotations.setAnnotation(IAnnotation annotation)
Sets an annotation object for this resource.
|
static void |
TextUnitUtil.setSourceAnnotation(ITextUnit textUnit,
IAnnotation annotation)
Attaches an annotation to the source part of a given text unit resource.
|
static void |
TextUnitUtil.setTargetAnnotation(ITextUnit textUnit,
LocaleId locId,
IAnnotation annotation)
Attaches an annotation to the target part of a given text unit resource in a given language.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
StorageList.getAnnotation(Class<A> annotationType) |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageList.setAnnotation(IAnnotation annotation) |
| Modifier and Type | Class and Description |
|---|---|
class |
MarkdownLinePrefixAnnotation
ListItem and BlockQuote, which can be nested, and IndentedCode block (cannot be nested)
are marked by prefixes on each line, and they can be combined.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Manifest
Implements the writing and reading of a manifest document, commonly used
in different types of translation packages.
|
class |
MergingInfo |
| Modifier and Type | Class and Description |
|---|---|
class |
FilterWriterAnnotation |
| Modifier and Type | Class and Description |
|---|---|
class |
TXMLSegAnnotation |
| Modifier and Type | Class and Description |
|---|---|
class |
XLIFF2NotesAnnotation |
| Modifier and Type | Class and Description |
|---|---|
class |
Issue |
| Modifier and Type | Class and Description |
|---|---|
class |
DiffMatchAnnotation
Marker annotation that shows a TextUnit was updated via a
DiffLeverageStep. |
| Modifier and Type | Class and Description |
|---|---|
class |
RepetitiveSegmentAnnotation |
| Modifier and Type | Class and Description |
|---|---|
class |
ScopingReportAnnotation |
| Modifier and Type | Class and Description |
|---|---|
class |
TokensAnnotation
Holds a list of
Token |
| Modifier and Type | Class and Description |
|---|---|
class |
MetricsAnnotation
Used by
WordCountStep and others to report various token counts. |
Copyright © 2021. All rights reserved.