public class TTXSkeletonWriter extends GenericSkeletonWriter
allowEmptyOutputTarget, ALLOWEMPTYOUTPUTTARGET, encoderManager, inputLoc, isMultilingual, layer, outputEncoding, outputLoc, storageStack| Constructor and Description |
|---|
TTXSkeletonWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForFilterInternalUse(String lineBreak)
Verifies that this skeleton writer can be used for internal purpose by the TTXFilter
for outputting skeleton chunks.
|
protected String |
processFragment(TextFragment frag,
EncoderContext context)
Outputs a fragment.
|
String |
processTextUnit(ITextUnit tu)
Processes the TEXT_UNIT event.
|
void |
setSourceLanguageCode(String langCode) |
void |
setTargetLanguageCode(String langCode) |
_processEndGroup, _processStartGroup, addToReferents, close, expandCodeContent, getContent, getContent, getEncoderManager, getInputLoc, getLayer, getOutputEncoding, getOutputLoc, getPropertyValue, getReference, getReferentCopies, getReferents, getSfWriter, getString, getString, getString, getString, getString, isAllowEmptyOutputTarget, isCodeThatDisablesEncoding, isMultilingual, processDocumentPart, processEndDocument, processEndGroup, processEndSubDocument, processEndSubfilter, processStartDocument, processStartGroup, processStartSubDocument, processStartSubfilter, setAllowEmptyOutputTarget, setEncoderManager, setLayer, setMultilingual, setOutputEncoding, setOutputLoc, setReferentCopies, setReferentspublic void setSourceLanguageCode(String langCode)
public void setTargetLanguageCode(String langCode)
public String processTextUnit(ITextUnit tu)
ISkeletonWriterprocessTextUnit in interface ISkeletonWriterprocessTextUnit in class GenericSkeletonWritertu - the TextUnit resource associated with the event.protected void checkForFilterInternalUse(String lineBreak)
lineBreak - the type of line-break to use.protected String processFragment(TextFragment frag, EncoderContext context)
frag - the fragment to outputcontext - output context: 0=text, 1=skeletonCopyright © 2022. All rights reserved.