Package net.sf.okapi.filters.xml
Class XMLSkeletonWriter
- java.lang.Object
-
- net.sf.okapi.common.skeleton.GenericSkeletonWriter
-
- net.sf.okapi.filters.xml.XMLSkeletonWriter
-
- All Implemented Interfaces:
ISkeletonWriter
public class XMLSkeletonWriter extends GenericSkeletonWriter
Implements ISkeletonWriter for the ITS filters
-
-
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 XMLSkeletonWriter(boolean useDisplayTextForCodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetPropertyValue(INameable resource, String name, LocaleId locToUse, EncoderContext context)Overrides the default behaviour to force "UTF-16" as declared XML encoding (not "UTF-16LE" or "UTF-16BE").-
Methods inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
_processEndGroup, _processStartGroup, addToReferents, close, expandCodeContent, getContent, getContent, getEncoderManager, getInputLoc, getOutputEncoding, getOutputLoc, getReference, getReferentCopies, getReferents, getSfWriter, getString, getString, getString, getString, getString, getStringFromSubfilter, isAllowEmptyOutputTarget, isCodeThatDisablesEncoding, isMultilingual, peekReference, processDocumentPart, processEndDocument, processEndGroup, processEndSubDocument, processEndSubfilter, processStartDocument, processStartGroup, processStartSubDocument, processStartSubfilter, processTextUnit, 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
-
getPropertyValue
protected String getPropertyValue(INameable resource, String name, LocaleId locToUse, EncoderContext context)
Overrides the default behaviour to force "UTF-16" as declared XML encoding (not "UTF-16LE" or "UTF-16BE").- Overrides:
getPropertyValuein classGenericSkeletonWriter
-
-