Uses of Interface
net.sf.okapi.common.resource.IWithAnnotations
-
Packages that use IWithAnnotations 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.filterwriter Interfaces and classes to allow the output of a document in its original format.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.xliff2.util net.sf.okapi.lib.merge.merge net.sf.okapi.steps.scopingreport net.sf.okapi.steps.wordcount net.sf.okapi.steps.wordcount.common -
-
Uses of IWithAnnotations in net.sf.okapi.common
Subinterfaces of IWithAnnotations in net.sf.okapi.common Modifier and Type Interface Description interface
IResource
Common set of features all the types of resources associated with events have. -
Uses of IWithAnnotations in net.sf.okapi.common.annotation
Methods in net.sf.okapi.common.annotation with parameters of type IWithAnnotations Modifier and Type Method Description static void
GenericAnnotations. addAnnotations(IWithAnnotations nameable, GenericAnnotations newSet)
Adds a set of annotations to a given INameable object (e.g. -
Uses of IWithAnnotations in net.sf.okapi.common.filterwriter
Methods in net.sf.okapi.common.filterwriter with parameters of type IWithAnnotations Modifier and Type Method Description static String
ITSContent. getAnnotatorsRef(IWithAnnotations nameable)
Gets the value of the ITS AnnotatorsRef information if it is present. -
Uses of IWithAnnotations in net.sf.okapi.common.resource
Subinterfaces of IWithAnnotations in net.sf.okapi.common.resource Modifier and Type Interface Description interface
IMultilingual
interface
INameable
Provides the methods common to all resources that can be named.interface
ITextUnit
Interface for the basic unit of extraction from a filter and also the resource associated with the filter event TEXT_UNIT.Classes in net.sf.okapi.common.resource that implement IWithAnnotations Modifier and Type Class Description class
BaseNameable
Implements a nameable resource.class
BaseReferenceable
Implements a nameable resource that can be a referent.class
Custom
class
DocumentPart
Resource associated with the filter events DOCUMENT_PART,class
Ending
Resource associated with the filter events END_DOCUMENT, END_SUBDOCUMENT, and END_GROUP.class
EndSubfilter
EndingIResource
forStartSubfilter
class
MultiEvent
Special resource that holds one or more events.class
PipelineParameters
Special resource used to carry runtime parameters.class
RawDocument
Resource that carries all the information needed for a filter to open a given document, and also the resource associated with the event RAW_DOCUMENT.class
Segment
Implement a special content part that is a segment.class
StartDocument
Resource associated with the filter event START_DOCUMENT.class
StartGroup
Resource associated with the filter event START_GROUP.class
StartSubDocument
Resource associated with the filter event START_SUBDOCUMENT.class
StartSubfilter
class
TextContainer
Provides methods for storing the content of a paragraph-type unit, to handle its properties, annotations and segmentation.class
TextPart
Implements the base object for the parts that make up a content.class
TextUnit
Basic unit of extraction from a filter and also the resource associated with the filter event TEXT_UNIT.Methods in net.sf.okapi.common.resource with parameters of type IWithAnnotations Modifier and Type Method Description static void
IWithAnnotations. copy(IWithAnnotations from, IWithAnnotations to)
Copy allIWithAnnotations
Unless destination already has the annotation. -
Uses of IWithAnnotations in net.sf.okapi.common.skeleton
Classes in net.sf.okapi.common.skeleton that implement IWithAnnotations Modifier and Type Class Description class
StorageList
provides a way to store a list of resources and implements the different interfaces of the resources. -
Uses of IWithAnnotations in net.sf.okapi.filters.xliff2.util
Methods in net.sf.okapi.filters.xliff2.util with parameters of type IWithAnnotations Modifier and Type Method Description static void
NotesMapper. setAnnotations(IWithNotes sourceXliffNotesHolder, IWithAnnotations targetAnnotationsHolder)
Takes notes from XLIFF 2.0 and stores them as Okapi Core Annotationsstatic void
NotesMapper. setNotes(IWithAnnotations sourceAnnotationsHolder, IWithNotes targetXliffNotesHolder)
Takes annotations from Okapi Core and stores them as XLIFF 2.0 notesstatic void
NotesMapper. setNotes(IWithAnnotations sourceAnnotationsHolder, StartFileData targetStartFileData)
A placeholder to give a warning if annotations are detected in theStartSubDocument
. -
Uses of IWithAnnotations in net.sf.okapi.lib.merge.merge
Methods in net.sf.okapi.lib.merge.merge with parameters of type IWithAnnotations Modifier and Type Method Description protected void
SkeletonMergerWriter. copyNotes(IWithAnnotations fromTrans, IWithAnnotations merged)
-
Uses of IWithAnnotations in net.sf.okapi.steps.scopingreport
Methods in net.sf.okapi.steps.scopingreport with parameters of type IWithAnnotations Modifier and Type Method Description protected long
ScopingReportStep. countCategories(IWithAnnotations res, CategoryGroup group)
protected long
ScopingReportStep. countNonTranslatable(IWithAnnotations res, CategoryGroup group)
protected void
ScopingReportStep. setItemFields(IReportGenerator gen, IWithAnnotations res)
-
Uses of IWithAnnotations in net.sf.okapi.steps.wordcount
Methods in net.sf.okapi.steps.wordcount with parameters of type IWithAnnotations Modifier and Type Method Description static long
WordCounter. getCount(IWithAnnotations res)
Returns the word count information stored by WordCountStep in annotations of a given resource.protected void
CharacterCountStep. removeFromMetrics(IWithAnnotations res, String metricName)
static void
CharacterCounter. setCount(IWithAnnotations res, long count)
static void
WordCounter. setCount(IWithAnnotations res, long count)
-
Uses of IWithAnnotations in net.sf.okapi.steps.wordcount.common
Methods in net.sf.okapi.steps.wordcount.common with parameters of type IWithAnnotations Modifier and Type Method Description long
BaseCounter. doGetCount(IWithAnnotations res)
static long
BaseCounter. getCount(IWithAnnotations res, String metricName)
protected void
BaseCountStep. removeFromMetrics(IWithAnnotations res, String metricName)
-