Package net.sf.okapi.filters.vtt
Class VTTSkeletonWriter
- java.lang.Object
-
- net.sf.okapi.common.skeleton.GenericSkeletonWriter
-
- net.sf.okapi.filters.vtt.VTTSkeletonWriter
-
- All Implemented Interfaces:
ISkeletonWriter
public class VTTSkeletonWriter extends GenericSkeletonWriter
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
allowEmptyOutputTarget, ALLOWEMPTYOUTPUTTARGET, encoderManager, inputLoc, isMultilingual, outputEncoding, outputLoc, storageStack, useDisplayTextForCodes
-
-
Constructor Summary
Constructors Constructor Description VTTSkeletonWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprocessStartDocument(LocaleId outputLocale, String outputEncoding, EncoderManager encoderManager, StartDocument resource)Processes the START_DOCUMENT event.StringprocessTextUnit(ITextUnit resource)Processes the TEXT_UNIT event.-
Methods inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
_processEndGroup, _processStartGroup, addToReferents, close, expandCodeContent, getContent, getContent, getEncoderManager, getInputLoc, getOutputEncoding, getOutputLoc, getPropertyValue, getReference, getReferentCopies, getReferents, getSfWriter, getString, getString, getString, getString, getString, getStringFromSubfilter, isAllowEmptyOutputTarget, isCodeThatDisablesEncoding, isMultilingual, peekReference, processDocumentPart, processEndDocument, processEndGroup, processEndSubDocument, processEndSubfilter, processStartGroup, processStartSubDocument, 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
-
-
-
-
Method Detail
-
processStartDocument
public String processStartDocument(LocaleId outputLocale, String outputEncoding, EncoderManager encoderManager, StartDocument resource)
Description copied from interface:ISkeletonWriterProcesses the START_DOCUMENT event.- Specified by:
processStartDocumentin interfaceISkeletonWriter- Overrides:
processStartDocumentin classGenericSkeletonWriter- Parameters:
outputLocale- the output locale.outputEncoding- the name of the output charset encoding.encoderManager- the encoder manager to use.resource- the StartDocument resource associated with the event.- Returns:
- the string output corresponding to this event.
-
processTextUnit
public String processTextUnit(ITextUnit resource)
Description copied from interface:ISkeletonWriterProcesses the TEXT_UNIT event.- Specified by:
processTextUnitin interfaceISkeletonWriter- Overrides:
processTextUnitin classGenericSkeletonWriter- Parameters:
resource- the TextUnit resource associated with the event.- Returns:
- the string output corresponding to this event.
-
-