Package net.sf.okapi.filters.xliff.iws
Class IwsXliffSkeletonWriter
- java.lang.Object
-
- net.sf.okapi.common.skeleton.GenericSkeletonWriter
-
- net.sf.okapi.filters.xliff.XLIFFSkeletonWriter
-
- net.sf.okapi.filters.xliff.iws.IwsXliffSkeletonWriter
-
- All Implemented Interfaces:
ISkeletonWriter
public class IwsXliffSkeletonWriter extends XLIFFSkeletonWriter
Skeleton write used to update the translation_status of Idiom WorldServer XLIFF files.
-
-
Field Summary
Fields Modifier and Type Field Description static String
IWS_TRANS_STATUS_MARKER
static String
IWS_TRANS_TYPE_MARKER
-
Fields inherited from class net.sf.okapi.filters.xliff.XLIFFSkeletonWriter
ALTTRANSMARKER, CONTEXT_GROUP_MARKER, ITSNSDECL, NOTEMARKER, params, SEGSOURCEMARKER
-
Fields inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
allowEmptyOutputTarget, ALLOWEMPTYOUTPUTTARGET, encoderManager, inputLoc, isMultilingual, outputEncoding, outputLoc, storageStack, useDisplayTextForCodes
-
-
Constructor Summary
Constructors Constructor Description IwsXliffSkeletonWriter(Parameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
processTextUnit(ITextUnit resource)
Update the Idiom WorldServer Metadata if the content has been translated.-
Methods inherited from class net.sf.okapi.filters.xliff.XLIFFSkeletonWriter
addUnusedAnnotations, expandCodeContent, getCharsetEncoder, getContent, getFmt, getItsCont, getITSStandoffManager, getLqiStandoff, getParams, getPropertyValue, getProvStandoff, getString, processDocumentPart, processEndDocument, processStartDocument, processStartGroup, processStartSubDocument, setITSStandoffManager
-
Methods inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
_processEndGroup, _processStartGroup, addToReferents, close, getContent, getEncoderManager, getInputLoc, getOutputEncoding, getOutputLoc, getReference, getReferentCopies, getReferents, getSfWriter, getString, getString, getString, getString, getStringFromSubfilter, isAllowEmptyOutputTarget, isCodeThatDisablesEncoding, isMultilingual, peekReference, processEndGroup, processEndSubDocument, processEndSubfilter, processStartSubfilter, setAllowEmptyOutputTarget, setEncoderManager, setMultilingual, setOutputEncoding, setOutputLoc, setReferentCopies, setReferents
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.skeleton.ISkeletonWriter
processTextUnit
-
-
-
-
Field Detail
-
IWS_TRANS_STATUS_MARKER
public static final String IWS_TRANS_STATUS_MARKER
- See Also:
- Constant Field Values
-
IWS_TRANS_TYPE_MARKER
public static final String IWS_TRANS_TYPE_MARKER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IwsXliffSkeletonWriter
public IwsXliffSkeletonWriter(Parameters params)
-
-
Method Detail
-
processTextUnit
public String processTextUnit(ITextUnit resource)
Update the Idiom WorldServer Metadata if the content has been translated.- Specified by:
processTextUnit
in interfaceISkeletonWriter
- Overrides:
processTextUnit
in classXLIFFSkeletonWriter
- Parameters:
resource
- the TextUnit resource associated with the event.- Returns:
- the string output corresponding to this event.
-
-